ORA-01502 Oracle Index in Unusable State ORA-01502 Oracle indeksas Nenaudojamos narė

When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Bandant atlikti užklausą Oracle lenteles, pasirinkite SQL, Oracle, grąžina tokį klaidos pranešimą:

ORA-01502: index 'string.string' or partition of such index is in unusable state ORA-01502: Rodiklis "string.string" arba pertvarų tokių indeksas yra netinkami valstybės

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. Klaida rodo, buvo bandoma prisijungti prie indekso ar indekso disko, kuris buvo pažymėtas netinkami tiesiogiai apkrova ar DDL operacijos.

The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Problema paprastai atsitinka, kai naudojamas tiesioginis kelias į SQL * Loader, tiesioginės krovinio ar DDL operacijas. This requires enough temporary space to build all indexes of the table. Tam reikia pakankamai laiko erdvėje kurti visi lentelės indeksus. 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'. Jeigu nėra pakankamai vietos TEMP tablespace, visas eilutes, vis dar bus pakrautas ir importuojami, tačiau indeksai kairę su status = 'neteisingas'.

Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = 'INVALID'; SQL statement. Neteisingas indeksus galite patikrinti su "SELECT * FROM USER_INDEXES WHERE status = 'Neteisingas" SQL.

Solution to this error is simple. Spręsti šią problemą labai paprasta. You can: Jūs galite:

  1. Drop the specified index and/or recreate the index Drop nurodytą indeksą ir / ar atkurti rodyklė
  2. Rebuild the specified index Pertvarkytas konkretų indeksas
  3. Rebuild the unusable index partition Pertvarkytas netinkami indeksas pasiskirstymo

Generally, the following SQL manipulation language will be able to rebuild the unusable index: Apskritai, po SQL kalbą manipuliuoti galės atstatyti netinkami indeksas:

ALTER INDEX index_name ALTER RODYKLĖ index_name REBUILD Atstatymo «REBUILD

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


6 Responses to “ORA-01502 Oracle Index in Unusable State” 6 Responses to "ORA-01502 Oracle indeksas Nenaudojamos narė"

  1. Bob Bob
    April 16th, 2009 03:14 16 balandis 2009 03:14
    6 6

    Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. Jūsų pirmoji ataskaita turi patikrinti "netinkamomis naudoti", o ne "invalid" ir USER_INDEXES.

  2. Deepak B Sholapurkar Deepak B Sholapurkar
    January 31st, 2009 04:24 31 sausis 2009 04:24
    5 5

    I think Oracle is having only index status as Usable/Unusabe. Manau, Oracle, turinti tik Rodyklė statusas Usable / Unusabe.

    “Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. "Praleisti Nenaudojamos indeksas" leis visiems DML (Inclusing Atrinkti) operacijos ant stalo.

    Thanks & Regards, Thanks & Regards,
    Deepak Deepak

  3. sabry Sabry
    August 21st, 2008 14:49 21 rugpjūtis 2008 14:49
    4 4

    thanks… the alter table fix worked Ačiū ... keisti lentelės nustatyti dirbo

  4. ORA-01502: Indexes in unusable state « PSST0101 ORA-01502: indeksai netinkami valstybės «PSST0101
    February 6th, 2008 06:31 6 vasaris 2008 06:31
    3 3

    [...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle indeksas Nenaudojamos valstybės [...]

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

    At least in oracle10 the status could also be 'UNUSABLE' Bent oracle10 statusas taip pat galėtų būti "netinkamomis naudoti"

  6. sandeep Sandeep
    September 19th, 2006 22:28 19 rugsėjis 2006 22:28
    1 1

    What about with Oracle 9i option SKIP UNUSABLE INDEXES? Ką apie su Oracle 9i parinktį PRALEISTI netinkamomis naudoti RODIKLIAI? Pls Explain. Pls Paaiškinkite.

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> Galite naudoti šiuos žodžius: <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. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

ora-01502 Ora-01502 - -- oracle index unusable Oracle indeksas nenaudotinas - -- index unusable Index nenaudotinas - -- ora 01502 Ora 01.502 - -- ORA-01502: ORA-01502: - -- oracle unusable index Oracle netinkami indeksas - -- Unusable index Nenaudojamos indeksas - -- ora-01502: index Ora-01502: Index - -- ORACLE index status ORACLE Index statusas - -- index UNUSABLE oracle Index netinkamomis naudoti Oracle - -- ORA-01502: index ORA-01502: Index - -- ORA-01502: ORA-01502: - -- unusable Index Oracle netinkami Rodyklė Oracle " - -- ORA-01502 ORA-01502 - -- oracle disable index Oracle išjungti indeksas - -- oracle ora-01502 Oracle Ora-01502 - -- oracle index unusable state Oracle indeksas netinkami valstybės - -- index is in unusable state indeksas yra netinkami valstybės - -- unusable indexes netinkami indeksai - -- oracle unusable indexes Oracle netinkami indeksai - -- ORA-01502 ORA-01502 - -- alter index unusable pakeisti indeksas nenaudotinas - -- oracle invalid index Oracle negaliojančių indeksas - -- "ORA-01502" "ORA-01502" - -- skip unusable index Pereiti netinkami indeksas - -- index unusable state Index netinkami valstybės - -- rebuild unusable indexes atstatyti netinkami indeksai - -- index status unusable Statusas indeksas nenaudotinas - -- oracle index status unusable Oracle indeksas statusas nenaudotinas - -- ORA-01502 ORACLE ORA-01502 ORACLE - -- all visi - -- oracle index is in unusable state Oracle indeksas yra netinkami valstybės - -- UNUSABLE index in oracle Netinkamomis naudoti indeksas Oracle - -- oracle index in unusable state Oracle indeksas netinkami valstybės - -- rebuild unusable index atstatyti netinkami indeksas - -- unusable indexes in oracle netinkami indeksai Oracle - -- ORA-01502: index partition of such index is in unusable state ORA-01502: Index pertvarų tokių indeksas yra netinkami valstybės - -- SKIP UNUSABLE INDEXES PRALEISTI netinkamomis naudoti RODIKLIAI - -- ORA - 01502 Ora - 01.502 - -- index status oracle Statusas indeksas Oracle - -- oracle rebuild unusable index Oracle atkurti netinkami indeksas - -- oracle index disable Oracle indeksas išjungti - -- invalid index oracle Negaliojančių indeksas orakulas - -- oracle 01502 Oracle 01.502 - -- invalid indexes Negaliojančių indeksai - -- Rebuild the unusable index partition Pertvarkytas netinkami indeksas pasiskirstymo - -- index unusable state oracle Index netinkami valstybės orakulas - -- oracle index state Oracle indeksas valstybės - -- disable index oracle išjungti indeksas orakulas - -- ORA:01502 ORA: 01.502 - -- Oracle Indexes Unusable Oracle indexes Nenaudojamos - -- Index status in oracle Indeksas statusas Oracle - -- ORACLE INDEX INVALID ORACLE RODYKLĖ blogas - -- index partition unusable Index pertvarų nenaudotinas - -- oracle check index status Oracle patikrinti indeksas statusas - -- oracle alter index unusable Oracle pakeisti indeksas nenaudotinas - -- oracle partition index unusable Oracle pasiskirstymo indeksas nenaudotinas - -- index in unusable state oracle rodiklis nenaudotinas narė Oracle - -- UNUSABLE oracle index Netinkamomis naudoti Oracle indeksas - -- unusable indexes oracle netinkami indeksus orakulas - -- oracle skip unusable Oracle Pereiti nenaudotinas - -- index unusable in oracle Index netinkami Oracle - -- INDEX ORACLE UNUSABLE RODYKLĖ ORACLE netinkamomis naudoti - -- oracle unusable Oracle nenaudotinas - -- rebuild unusable local indexes atstatyti netinkami vietos indeksai - -- ORA-01502 + oracle ORA-01502 + Oracle - -- ORA-01502 error ORA-01502 klaidą - -- oracle partition of such index is in unusable state Oracle pertvarų tokių indeksas yra netinkami valstybės - -- oracle index usable Oracle indeksas naudoti - -- index in unusable state rodiklis nenaudotinas valstybės - -- index status unusable oracle Statusas indeksas netinkami orakulas - -- disable index in oracle išjungti indeksas Oracle - -- why Index unusable Kodėl Rodyklė nenaudotinas - -- oracle ora 01502 Oracle ora 01.502 - -- oracle unusable state Oracle netinkami valstybės - --