ORA-01502 Oracle Index in Unusable State ORA-01502 Indice di Oracle in Unusable Stato
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Quando si cerca di effettuare query su tabelle con Oracle selezionare SQL, Oracle restituisce il seguente errore:
ORA-01502: index ’string.string’ or partition of such index is in unusable state ORA-01502: Indice 'string.string' o partizione di tale indice è stato inutilizzabile
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. Indica l'errore si è cercato di accedere a un indice o indice di partizione che è stata segnata da un inutilizzabile diretto carico o da un DDL operazione.
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. Il problema di solito succede quando si utilizza il percorso diretto per SQL * Loader, diretto o carico di operazioni DDL. This requires enough temporary space to build all indexes of the table. Ciò richiede sufficiente spazio temporaneo per costruire tutti gli indici della tabella. 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’. Se non vi è abbastanza spazio nel tablespace TEMP, tutte le righe verranno comunque caricati e importati, ma gli indici sono lasciati con Status = 'non valido'.
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = ‘INVALID’; SQL statement. Non validi indici possono essere controllati con una SELECT * FROM USER_INDEXES DOVE status = 'non valido'; SQL.
Solution to this error is simple. Soluzione a questo errore è semplice. You can: È possibile:
- Drop the specified index and/or recreate the index Rilasciare l'indice specificato e / o ricreare l'indice
- Rebuild the specified index Ricostruire l'indice specificato
- Rebuild the unusable index partition Ricostruire l'indice inutilizzabile partizione
Generally, the following SQL manipulation language will be able to rebuild the unusable index: In generale, le seguenti manipolazione del linguaggio SQL sarà in grado di ricostruire l'indice inutilizzabile:
ALTER INDEX index_name ALTER INDEX index_name REBUILD REBUILD
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- Oracle Database Import Error 3113/3114 Database Oracle errore di importazione 3113/3114
- Manual and Clean Uninstall Oracle for Windows Pulizia manuale e la disinstallazione di Oracle per Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Creare, aggiungere o Spalato Oracle Database partizione non riesce a ORA-14080 Errore
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle goccia tabella di errore
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 Impossibile creare INIZIALE Estensione per il segmento in errore Tablespace
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabella o visualizzare non esiste errore di Oracle
- How to Rename or Move Oracle Tablespace Datafile to Another Location Come rinominare o spostare Oracle tablespace archivio dei dati in un'altra posizione
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 creare o aggiungere nuova partizione non errore
- Oracle Database Link Oracle database di link
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 non bastano i valori di errore

































September 19th, 2006 22:28 19 settembre 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? What about a Oracle 9i opzione SKIP UNUSABLE INDICI? Pls Explain. Pls spiegare.
March 6th, 2007 16:51 6 marzo 2007 16:51
At least in oracle10 the status could also be ‘UNUSABLE’ Almeno in oracle10 lo stato potrebbe essere anche 'UNUSABLE'
February 6th, 2008 06:31 6 febbraio 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Indice di Oracle in Unusable Stato [...]
August 21st, 2008 14:49 21 agosto 2008 14:49
thanks… the alter table fix worked grazie… modificare la tabella di correzione lavorato