ORA-01502 Oracle Index in Unusable State ORA-01502 Oracle Obsah v Nepoužiteľné štátu

When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Pri pokuse o vykonanie dotazu na Oracle tabuľky s vybranými SQL vyhlásenie, Oracle vracia nasledujúcu chybu:

ORA-01502: index 'string.string' or partition of such index is in unusable state ORA-01502: index 'string.string' alebo oblasť takéhoto indexu je nepoužiteľný stav

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. Táto chyba označuje bol pokus o prístup index alebo index oblasť, ktorá bola označená nepoužiteľnými priameho nákladu, alebo prostredníctvom DDL prevádzky.

The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Tento problém sa bežne stáva pri použití Direct Cesta pre SQL * Loader, Direct Založte alebo DDL operácií. This requires enough temporary space to build all indexes of the table. To si vyžaduje dostatok miesta na vybudovanie dočasného všetky indexy v tabuľke. 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'. Ak nie je dostatok miesta v Tablespace TEMP, všetky riadky budú stále naložené a dováža, ale indexy sú ponechať status = 'INVALID'.

Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = 'INVALID'; SQL statement. Neplatné indexy môžu byť kontrolované s SELECT * from USER_INDEXES KDE ŠTATÚTU = 'INVALID'; SQL vyhlásenie.

Solution to this error is simple. Riešenie tohto problému je jednoduché. You can: Môžete:

  1. Drop the specified index and/or recreate the index Drop zadaného indexu a / alebo vytvoriť index
  2. Rebuild the specified index Rebuild zadaného indexu
  3. Rebuild the unusable index partition Obnovu nepoužitelná index stredisko

Generally, the following SQL manipulation language will be able to rebuild the unusable index: Všeobecne platí, že tieto SQL jazyk pre manipuláciu sa budú môcť na obnovu nepoužitelná index:

ALTER INDEX index_name ALTER INDEX index_name REBUILD Opravím

IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.


6 Responses to “ORA-01502 Oracle Index in Unusable State” 6 Reakcie na "ORA-01502 Oracle Obsah v Nepoužiteľné štát"

  1. Bob Bob
    April 16th, 2009 03:14 16. apríla 2009 03:14
    6 6

    Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. Vaše prvé vyhlásenie musí skontrolovať 'neupotřebitelnými' a nie 'INVALID' v USER_INDEXES.

  2. Deepak B Sholapurkar Deepak B Sholapurkar
    January 31st, 2009 04:24 31. január 2009 04:24
    5 5

    I think Oracle is having only index status as Usable/Unusabe. Myslím, že Oracle má len index statusu Použiteľné / Unusabe.

    “Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. "Preskočiť Nepoužiteľné index" umožní všetkým LÚD (zahrnie Vyberte) operácie na stôl.

    Thanks & Regards, Thanks & S,
    Deepak Deepak

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

    thanks… the alter table fix worked děkuji ... a meniť tabuľku opraviť pracoval

  4. ORA-01502: Indexes in unusable state « PSST0101 ORA-01502: Indexy nepoužiteľného stavu «PSST0101
    February 6th, 2008 06:31 6. februára 2008 06:31
    3 3

    [...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle Obsah v Nepoužiteľné štát [...]

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

    At least in oracle10 the status could also be 'UNUSABLE' Aspoň v oracle10 stav by mohol byť aj 'neupotřebitelnými'

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

    What about with Oracle 9i option SKIP UNUSABLE INDEXES? Ako je to s Oracle 9i možnosť SKIP neupotřebitelnými indexy? Pls Explain. Pls vysvetliť.

Leave a Reply Nechaj Odpoveď

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> Môžete použiť tieto značky: <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. Vyberajte komentáre funkcia bola vypnutá. To receive notification of latest comments posted, subscribe to Ak chcete dostávať oznámenie o najnovšie komentáre posta, prihláste sa My Digital Life Comments RSS feed My Digital Life Komentáre RSS or alebo register to receive register pre príjem new comments in daily email digest. nové komentáre v dennom email Digest.
Custom Search

New Articles Nové články

Incoming Search Terms for the Article Incoming Vyhľadávanie Podmienky pre článok

ora-01502 ORA-01502 - -- oracle index unusable Výnos indexu nepoužitelný - -- index unusable index nepoužitelný - -- ora 01502 ora 01502 - -- ORA-01502: ORA-01502: - -- oracle unusable index Oracle nepoužitelný index - -- Unusable index Nepoužiteľné index - -- ora-01502: index ORA-01502: index - -- ORACLE index status ORACLE index postavenie - -- index UNUSABLE oracle index neupotřebitelnými veštbami - -- ORA-01502: index ORA-01502: index - -- ORA-01502: ORA-01502: - -- unusable Index Oracle nepoužitelný Obsah Oracle - -- ORA-01502 ORA-01502 - -- oracle disable index Oracle zakáže index - -- oracle ora-01502 veštbami ora-01502 - -- oracle index unusable state Výnos indexu nepoužitelný stav - -- index is in unusable state index je nepoužiteľný stav - -- unusable indexes nepoužitelný indexy - -- oracle unusable indexes Oracle nepoužitelný indexy - -- ORA-01502 ORA-01502 - -- alter index unusable zmeniť index nepoužitelný - -- oracle invalid index Oracle neplatné index - -- "ORA-01502" "ORA-01502" - -- skip unusable index preskočiť nepoužitelný index - -- index unusable state index nepoužitelný stav - -- rebuild unusable indexes opätovne nepoužiteľné indexy - -- index status unusable index statusu nepoužitelný - -- oracle index status unusable Oracle index statusu nepoužitelný - -- ORA-01502 ORACLE ORA-01502 ORACLE - -- all všetko - -- oracle index is in unusable state Výnos indexu je nepoužiteľný stav - -- UNUSABLE index in oracle Neupotřebitelnými index v Oracle - -- oracle index in unusable state Výnos indexu nepoužitelný stav - -- rebuild unusable index opätovne nepoužiteľné index - -- unusable indexes in oracle nepoužitelný indexy v Oracle - -- ORA-01502: index partition of such index is in unusable state ORA-01502: index oblasť takéhoto indexu je v nepoužitelný stav - -- SKIP UNUSABLE INDEXES SKIP neupotřebitelnými indexy - -- ORA - 01502 ORA - 01502 - -- index status oracle index statusu Oracle - -- oracle rebuild unusable index Oracle opätovne nepoužiteľné index - -- oracle index disable Výnos indexu zakáže - -- invalid index oracle neplatný index veštbami - -- oracle 01502 Výnos 01502 - -- invalid indexes neplatný indexy - -- Rebuild the unusable index partition Obnovu nepoužitelná index stredisko - -- index unusable state oracle index nepoužitelný stav veštbami - -- oracle index state Výnos indexu stave - -- disable index oracle zakáže index veštbami - -- ORA:01502 ORAs: 01502 - -- Oracle Indexes Unusable Oracle Indexuje Nepoužiteľné - -- Index status in oracle Obsah stave veštbami - -- ORACLE INDEX INVALID ORACLE REGISTER INVALID - -- index partition unusable index oddielu nepoužiteľné - -- oracle check index status Oracle skontrolovať stav index - -- oracle alter index unusable Oracle meniť index nepoužitelný - -- oracle partition index unusable Oracle oblasť index nepoužitelný - -- index in unusable state oracle index v nepoužiteľného stavu veštbami - -- UNUSABLE oracle index Neupotřebitelnými Oracle index - -- unusable indexes oracle nepoužitelný indexy veštbami - -- oracle skip unusable Oracle preskočí nepoužitelný - -- index unusable in oracle index nepoužitelný v Oracle - -- INDEX ORACLE UNUSABLE INDEX ORACLE neupotřebitelnými - -- oracle unusable Oracle nepoužitelný - -- rebuild unusable local indexes opätovne nepoužiteľné miestnej indexy - -- ORA-01502 + oracle ORA-01502 + Oracle - -- ORA-01502 error ORA-01502 chybu - -- oracle partition of such index is in unusable state Výnos z takýchto oblastí je index v nepoužitelný stav - -- oracle index usable Oracle index uplatniteľný - -- index in unusable state index v nepoužiteľného stavu - -- index status unusable oracle index stavu nepoužitelný veštbami - -- disable index in oracle zakáže index v Oracle - -- why Index unusable prečo Obsah nepoužitelný - -- oracle ora 01502 veštbami ora 01502 - -- oracle unusable state Oracle nepoužitelný stav - --