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:
- Drop the specified index and/or recreate the index Drop zadaného indexu a / alebo vytvoriť index
- Rebuild the specified index Rebuild zadaného indexu
- 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é.
Related Articles Súvisiace články
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 Vytvoriť alebo Pridať nový oddiel nerozumie Chyba
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Vytvoriť, Pridať alebo Split Oracle Database oddiel nerozumie s ORA-14080 Chyba
- How to Escape Characters in Oracle PL/SQL Queries Ako Escape Postavy v Oracle PL / SQL dotazov
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Drop Tabuľka Chyba
- Check Oracle Version Skontrolujte, Oracle Version
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabuľky alebo View neexistuje Oracle Chyba
- Oracle Database Import Error 3113/3114 Oracle Database Import Chyba 3113/3114
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Nie Dostatočný Hodnoty Chyba
- Oracle JDeveloper Reviews Oracle JDeveloper Recenzie
- Manual and Clean Uninstall Oracle for Windows Manuál a čistého Odinštalovať Oracle pre Windows










































April 16th, 2009 03:14 16. apríla 2009 03:14
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.
January 31st, 2009 04:24 31. január 2009 04:24
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
August 21st, 2008 14:49 21. augusta 2008 14:49
thanks… the alter table fix worked děkuji ... a meniť tabuľku opraviť pracoval
February 6th, 2008 06:31 6. februára 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle Obsah v Nepoužiteľné štát [...]
March 6th, 2007 16:51 6. marec 2007 16:51
At least in oracle10 the status could also be 'UNUSABLE' Aspoň v oracle10 stav by mohol byť aj 'neupotřebitelnými'
September 19th, 2006 22:28 19. septembra 2006 22:28
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ť.