ORA-01502 Oracle Index in Unusable State ORA-01502 Oracle Índice inutilizáveis no Estado
When trying to perform query on Oracle tables with select SQL statement, Oracle returns the following error: Ao tentar executar a consulta sobre a escolha tabelas Oracle SQL, Oracle retorna o seguinte erro:
ORA-01502: index ’string.string’ or partition of such index is in unusable state ORA-01502: índice 'string.string' ou partição de tal índice está em estado inutilizável
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. O erro indica, foi feita uma tentativa de acesso a um índice ou índice partição que tem sido marcada por um inutilizável carga directa ou através de uma operação DDL.
The problem usually happens when using the Direct Path for the SQL*Loader, Direct Load or DDL operations. O problema normalmente ocorre quando se utiliza a via directa para o SQL * Loader, direto ou DDL Carga operações. This requires enough temporary space to build all indexes of the table. Isto exige temporária espaço suficiente para construir todos os índices da tabela. 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’. Caso não haja espaço suficiente na tablespace TEMP, todas as linhas ainda serão carregados e importados, mas os índices são deixados com STATUS = 'inválido'.
Invalid indexes can be checked with a SELECT * from USER_INDEXES WHERE STATUS = ‘INVALID’; SQL statement. Inválido índices pode ser verificado com um SELECT * FROM USER_INDEXES WHERE STATUS = 'INVALID'; SQL.
Solution to this error is simple. Solução para este erro é simples. You can: Você pode:
- Drop the specified index and/or recreate the index Drop especificado o índice e / ou recriar o índice
- Rebuild the specified index Recriar o índice especificado
- Rebuild the unusable index partition Recriar o índice inutilizável partição
Generally, the following SQL manipulation language will be able to rebuild the unusable index: Geralmente, os seguintes linguagem SQL manipulação será capaz de reconstruir o inutilizável índice:
ALTER INDEX index_name ALTER INDEX index_name REBUILD Reconstruir
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.
Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .
Related Articles Artigos relacionados
- Oracle Database Import Error 3113/3114 Banco de dados Oracle importação erro 3113/3114
- Manual and Clean Uninstall Oracle for Windows Manual limpo e desinstalação Oracle para Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Criar, Adicionar ou Split Oracle Database Partição falhe com Erro ORA-14080
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle gota tabela erro
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 Não foi possível criar INICIAL Extensão para o segmento no tablespace Erro
- ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 Ver tabela ou não existe erro Oracle
- How to Rename or Move Oracle Tablespace Datafile to Another Location Como mudar o nome ou mover Oracle tablespace Datafile para outro local
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 criar ou adicionar novas partições falhar erro
- Oracle Database Link Oracle Database Link
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 não basta valores erro

































September 19th, 2006 22:28 19 de setembro de 2006 22:28
What about with Oracle 9i option SKIP UNUSABLE INDEXES? E quanto a opção Oracle 9i SKIP UNUSABLE ÍNDICES? Pls Explain. Pls Explique.
March 6th, 2007 16:51 6 de março de 2007 16:51
At least in oracle10 the status could also be ‘UNUSABLE’ Pelo menos em oracle10 o estado poderia também ser "UNUSABLE '
February 6th, 2008 06:31 6 de fevereiro de 2008 06:31
[...] ORA-01502 Oracle Index in Unusable State [...] [...] ORA-01502 Oracle Índice inutilizáveis no Estado [...]
August 21st, 2008 14:49 21 de agosto de 2008 14:49
thanks… the alter table fix worked graças… alterar o quadro fixar trabalhou