ORA-01502 Oracle Index in Unusable State ORA-01502 Oracle Kazalo neuporabni v državni
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Ko poskušate izvesti poizvedbo na Oracle tabele izberite z izjavo SQL, Oracle vrne naslednje napake:
ORA-01502: index 'string.string' or partition of such index is in unusable state ORA-01502: indeks "string.string ali particiji takega indeksa je v neuporabno stanje
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. Napaka kaže poskus je bil narejen za dostop do indeksa ali indeksa particije, ki je bil označen kot neuporabni, z neposredno obremenitvijo ali s DDL delovanje.
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Težava ponavadi zgodi, ko z uporabo Direct Pot za SQL * Loader, Direct Load ali DDL operacij. This requires enough temporary space to build all indexes of the table. To zahteva začasno dovolj prostora za izgradnjo vseh indeksov v tabeli. 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'. Če ni dovolj prostora na TEMP tablespace vse vrstice, bo še vedno naložen in uvožene, vendar indeksi so imeli status = "INVALID".
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = 'INVALID'; SQL statement. Neveljavni indeksi se lahko preverijo z SELECT * od USER_INDEXES KJE STATUS = "INVALID"; SQL izjavo.
Solution to this error is simple. Rešitev za to napako je preprost. You can: Lahko:
- Drop the specified index and/or recreate the index Odvrzi določeni indeks, in / ali ponovno indeks
- Rebuild the specified index Obnovitev določenega indeksa
- Rebuild the unusable index partition Obnovo neuporabno indeks particijo
Generally, the following SQL manipulation language will be able to rebuild the unusable index: Na splošno se po SQL jezik za manipulacijo bodo sposobni za obnovo neuporabno indeks:
ALTER INDEX index_name Alter KAZALO index_name REBUILD Obnovitev
IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: Ta stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original English članek whenever possible. kadar je to mogoče.
Related Articles Sorodni članki
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 Ustvari Dodaj novo particijo ali ne Napaka
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Ustvari, Dodaj ali Split Oracle Database particije ne z ORA-14080 Napaka
- How to Escape Characters in Oracle PL/SQL Queries Kako Escape Znaki v Oracle PL / SQL Queries
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle Drop Tabela Napaka
- Check Oracle Version Preverite Oracle Version
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 Tabela ali pogled ne obstaja Oracle Napaka
- Oracle Database Import Error 3113/3114 Oracle Database Import Error 3113/3114
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Ni dovolj Vrednosti Napaka
- Oracle JDeveloper Reviews Oracle JDeveloper Reviews
- Manual and Clean Uninstall Oracle for Windows Ročno in čistega Odstrani Oracle za Windows










































April 16th, 2009 03:14 16. april 2009 03:14
Your first statement needs to check for 'UNUSABLE' and not 'INVALID' in USER_INDEXES. Vaše prvo izjavo mora preveriti "neuporabnih" in ne "INVALID" v USER_INDEXES.
January 31st, 2009 04:24 31. januar 2009 04:24
I think Oracle is having only index status as Usable/Unusabe. Mislim, da Oracle je ob le indeks statusa Uporabna / Unusabe.
“Skip Unusable index” will allow the all the DML(Inclusing Select) operations on the table. "Preskoči neuporabni indeks" bo omogočila vse ZMSD (Inclusing Izberite) operacije na mizi.
Thanks & Regards, Thanks & Regards,
Deepak Deepak
August 21st, 2008 14:49 21. avgust 2008 14:49
thanks… the alter table fix worked hvala ... se spremenijo tabele določi delal
February 6th, 2008 06:31 6. februar 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle Indeks v Neuporabni članici [...]
March 6th, 2007 16:51 6. marec 2007 16:51
At least in oracle10 the status could also be 'UNUSABLE' Vsaj v oracle10 statusa bi se lahko tudi "neuporabnih"
September 19th, 2006 22:28 19. september 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? Kaj je z Oracle 9i možnost SKIP neuporabni indeksi? Pls Explain. Pls Pojasnite.