ORA-01502 Oracle Index in Unusable State ORA-01.502 Oracle Index Nederīgas valsts

When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Ja mēģināt veikt pieprasījumu uz Oracle tabulām ar izvēlieties SQL, Oracle atgriež šādu kļūdu:

ORA-01502: index 'string.string' or partition of such index is in unusable state ORA-01.502: index "string.string 'vai sadalījuma šādu indekss ir nelietojams valsts

The error indicates an attempt has been made to access an index or index partition that has been marked unusable by a direct load or by a DDL operation. Kļūda norāda mēģinājums ir veikts, lai piekļūtu indeksu vai indeksu nodalījumā, kas ir atzīmēti nelietojamām tieši slodze vai DDL darbību.

The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Problēma parasti notiek, izmantojot Direct Ceļš uz SQL * Loader, Direct Load vai DDL operācijas. This requires enough temporary space to build all indexes of the table. Tas prasa pietiekami daudz pagaidu vietas, lai izveidotu visu tabulu indeksi. If there is no enough space in TEMP tablespace, all rows will still be loaded and imported, but the indices are left with STATUS = 'INVALID'. Ja nav pietiekami daudz vietas TEMP tablespace, visas rindas joprojām tiks ielādēta un importē, bet indeksus, atstāj STATUS = 'INVALID'.

Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = 'INVALID'; SQL statement. Nederīgs indeksi var pārbaudīt ar SELECT * FROM USER_INDEXES WHERE status = 'Nekorekts'; SQL.

Solution to this error is simple. Risinājums šo kļūdu ir vienkārša. You can: Jūs varat:

  1. Drop the specified index and/or recreate the index Drop norādīto indeksu un / vai izveidot indeksu
  2. Rebuild the specified index Atjaunot noteiktā indekss
  3. Rebuild the unusable index partition Atjaunot nelietojamu indekss partition

Generally, the following SQL manipulation language will be able to rebuild the unusable index: Vispār, šādas SQL manipulācijas valoda, varēs atjaunot neizmantojamu indekss:

ALTER INDEX index_name ALTER INDEX index_name REBUILD Pārbūvēt

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


6 Responses to “ORA-01502 Oracle Index in Unusable State” 6 Atbildes uz "ORA-01.502 Oracle Index Nederīgas State"

  1. Bob Bob
    April 16th, 2009 03:14 Aprīlis 16, 2009 03:14
    6 6

    Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. Savu pirmo paziņojumu, vajadzības atzīmējiet lietošanai nederīgi "un nevis" spēkā neesošs "in USER_INDEXES.

  2. Deepak B Sholapurkar Deepak B Sholapurkar
    January 31st, 2009 04:24 Janvāris 31, 2009 04:24
    5 5

    I think Oracle is having only index status as Usable/Unusabe. Es domāju, ka Oracle ir ir tikai indekss statuss Usable / Unusabe.

    “Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. "Skip Nederīgas index" varēs visus BDL (Inclusing Izvēlieties) darbībām, uz galda.

    Thanks & Regards, Thanks & Regards,
    Deepak Deepak

  3. sabry sabry
    August 21st, 2008 14:49 Augusts 21, 2008 14:49
    4 4

    thanks… the alter table fix worked thanks ... ALTER TABLE noteikt nostrādāto

  4. ORA-01502: Indexes in unusable state « PSST0101 ORA-01.502: Indeksi in neizmantojamu valsts «PSST0101
    February 6th, 2008 06:31 6 februāris 2008 06:31
    3 3

    [...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01.502 Oracle Index Nederīgas Valsts [...]

  5. Kalle Kalle
    March 6th, 2007 16:51 6 marts 2007 16:51
    2 2

    At least in oracle10 the status could also be 'UNUSABLE' Vismaz oracle10 stāvoklis varētu būt arī "nelietojamus"

  6. sandeep sandeep
    September 19th, 2006 22:28 19 septembris 2006 22:28
    1 1

    What about with Oracle 9i option SKIP UNUSABLE INDEXES? Ko par to ar Oracle 9i iespēja SKIP nelietojamus Indeksi? Pls Explain. Pls paskaidrot.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Jūs varat izmantot šos tagus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Saņemt informāciju par jaunāko komentārus, parakstīties uz My Digital Life Comments RSS feed Mana Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Ienākošo Meklēt noteikumi pants

ORA-01502 ORA-01.502 - -- ora-01502 index or partition of such index is in unusable state ORA-01.502 indekss vai šķērssienu šādu indekss ir nelietojams valsts - -- oracle index unusable Oracle indekss nelietojams - -- oracle unusable index Oracle nelietojams indekss - -- index unusable indekss nelietojams - -- alter index unusable mainīt indekss nelietojams - -- oracle index status Oracle indekss status - -- unusable index nelietojams indekss - -- oracle alter index unusable Oracle mainīt indekss nelietojams - -- oracle index unusable state Oracle indekss nelietojams valsts - -- ORA-01502: index or partition of such index is in unusable state ORA-01.502: index vai šķērssienu šādu indekss ir nelietojams valsts - -- index is in unusable state indekss ir nelietojams valsts - -- REBUILD UNUSABLE INDEXES Atjaunot nelietojamus Indeksi - -- ORA-01502: ORA-01.502: - -- ora 01502 ora 01.502 - -- ORA-01502: index ORA-01.502: Index - -- partition of such index is in unusable state in oracle partition šādu indekss ir nelietojams stāvoklī Oracle - -- unusable index in oracle nelietojams indeksu Oracle - -- "ORA-01502" "ORA-01.502" - -- index in unusable state indekss nelietojams valsts - -- "REBUILD UNUSABLE LOCAL INDEXES" "Pārbūvēt lietošanai nederīgi LOCAL Indeksi" - -- error ora-01502 while import kļūda ORA-01.502 savukārt importa - -- index oracle unusable indekss Oracle nelietojams - -- oracle ORA-01502 Oracle ORA-01.502 - -- Oracle index usable Oracle indekss izmantojami - -- ORA-01502 partition of such index is in unusable state ORA-01.502 partition šādu indekss ir nelietojams valsts - -- ORA-01502: index ORA-01.502: Index - -- unusable index oracle nelietojams indekss Oracle - -- unusable indexes nelietojams indeksi - -- oracle query invalid indexes Oracle query nederīgs indeksi - -- ORA-01502: index ORA-01.502: Index - -- check for unusable indexes Pārbaudiet nelietojams indeksi - -- oracle 9i alter index unusable Oracle 9.i mainīt indekss nelietojams - -- skip unusable index izlaist nelietojams indekss - -- ORA-01502: index or partition of such index is in unusable state ORA-01.502: index vai šķērssienu šādu indekss ir nelietojams valsts - -- ORA-01502 ORA-01.502 - -- alter index usable mainīt indekss izmantojami - -- cache:2eDK1WTZfjUJ:www.databasejournal.com/features/oracle/article.php/3735286/Oracle-Unusable-Indexes.htm unusable index in oracle cache: 2eDK1WTZfjUJ: www.databasejournal.com/features/oracle/article.php/3735286/Oracle-Unusable-Indexes.htm nelietojams indeksu Oracle - -- error ora-01502 kļūda ORA-01.502 - -- error oracle ora-01502 kļūda Oracle ora-01.502 - -- how to check for unusable index in oracle kā pārbaudīt neizmantojamu indeksu Oracle - -- how to find invalid index in oracle Kā atrast nederīgs indeksu Oracle - -- how to fix the partition unusable issue in oracle kā noteikt sadalīšanās nelietojamu jautājums Oracle - -- indexes unusables Indeksi unusables - -- indexes in unusable state in oracle indeksi ir nelietojams stāvoklī Oracle - -- index status unusable index status nelietojams - -- index usable oracle query indekss izmantojami Oracle query - -- oracle 01502 Oracle 01.502 - -- oracle find unusable index Oracle atrast nelietojams indekss - -- Oracle Direct index index unusable Oracle Direct Saturs Saturs nelietojams - --