ORA-01502 Oracle Index in Unusable State ORA-01502 Índice de Oracle en inutilizables Estado
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Al intentar realizar la consulta a tablas de Oracle con seleccionar sentencia SQL, Oracle devuelve el siguiente error:
ORA-01502: index ’string.string’ or partition of such index is in unusable state ORA-01502: Índice »string.string 'o partición de tal índice se encuentra en estado inservible
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. El error indica que se ha intentado acceder a un índice o índice de partición que se ha caracterizado por un inservible carga directa o mediante una operación de DDL.
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. El problema suele ocurrir cuando se utiliza la ruta directa para el SQL * Loader, de carga directa o DDL operaciones. This requires enough temporary space to build all indexes of the table. Para ello se requiere suficiente espacio temporal para crear todos los índices de la tabla. 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’. Si no hay suficiente espacio en TEMP tablas, todas las filas seguirán siendo cargado e importados, pero los índices se quedan con el status = 'INVALID'.
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = ‘INVALID’; SQL statement. No válido índices se puede comprobar con un SELECT * FROM USER_INDEXES EN ESTADO = 'INVALID'; sentencia SQL.
Solution to this error is simple. Solución a este error es muy sencillo. You can: Puedes hacer lo siguiente:
- Drop the specified index and/or recreate the index Coloque el índice especificado y / o recrear el índice
- Rebuild the specified index Reconstruir el índice especificado
- Rebuild the unusable index partition Reconstruir el índice de partición inservible
Generally, the following SQL manipulation language will be able to rebuild the unusable index: En general, las siguientes manipulación lenguaje SQL será capaz de reconstruir el índice inservible:
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: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- Oracle Database Import Error 3113/3114 Bases de datos Oracle error de importación 3113/3114
- Manual and Clean Uninstall Oracle for Windows Manual y limpio de desinstalación de Oracle para Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Crear, Añadir o base de datos Oracle Split partición falla con ORA-14080 Error
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle caída cuadro de error
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 No es posible crear INICIAL La medida para el segmento de tablas de error
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabla o vista no existe error de Oracle
- How to Rename or Move Oracle Tablespace Datafile to Another Location Cómo renombrar o mover archivo de tablas de Oracle a otra ubicación
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 crear o añadir nuevas particiones no error
- Oracle Database Link Bases de datos Oracle Link
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 no basta con los valores de error

































September 19th, 2006 22:28 19 de Septiembre de 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? ¿Y con respecto a Oracle 9i con opción SKIP INDICES inservible? Pls Explain. Pls Explica tu respuesta.
March 6th, 2007 16:51 6 de marzo de 2007 16:51
At least in oracle10 the status could also be ‘UNUSABLE’ Al menos en oracle10 la situación también podría ser 'inservible'
February 6th, 2008 06:31 6 de febrero de 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Índice de Oracle en inutilizables Estado [...]
August 21st, 2008 14:49 21 de Agosto, 2008 14:49
thanks… the alter table fix worked gracias… alterar el cuadro fijar trabajado