ORA-29857: domain indexes and/or secondary objects exist in the tablespace
在刪除tablespace的時候會出現錯誤:
SQL> drop tablespace K9EDM_DATA INCLUDING CONTENTS;
drop tablespace K9EDM_DATA INCLUDING CONTENTS
*
ERROR at line 1:
ORA-29857: domain indexes and/or secondary objects exist in the tablespace
Oracle docs note this about ORA-29857:
ORA-29857: domain indexes and/or secondary objects exist in the tablespace
Cause: An attempt was made to drop a tablespace which contains secondary objects and/or domain indexes.
Action: Drop the domain indexes in his tablespace. Also, find the domain indexes which created secondary objects in this tablespace and drop them. Then try dropping the tablespace.
可以執行以下命令,檢視該tablespace上的的index,刪除相關的index,然後就能刪除tablespace。
select index_name, table_owner, table_name, tablespace_name from user_indexes where index_type='DOMAIN';
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016716/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Creating Secondary IndexesIndex
- Secondary Indexes on Index-Organized Tables (231)IndexZed
- Overview of Application Domain Indexes (237)ViewAPPAIIndex
- How to move Oracle Spatial objects from SYSAUX tablespace to a user defined tablespace [ID 1119758.1OracleObjectUX
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- Examples of Secondary IndexIndex
- ObjectsObject
- in與exist , not in與not exist 的區別
- Rebuild IndexesRebuildIndex
- ORACLE INDEXESOracleIndex
- Oracle in and existOracle
- 關於 in與exist , not in與not exist 的區別
- Oracle - Tables/IndexesOracleIndex
- Reverse Key IndexesIndex
- ORACLE -> NULL & INDEXESOracleNullIndex
- Overview of Partitioned IndexesViewIndex
- Local Partitioned IndexesIndex
- Global Nonpartitioned IndexesIndex
- Extents in Indexes (19)Index
- 域名(domain)AI
- eminent domainAI
- 翻譯(九)——Clustered Indexes: Stairway to SQL Server Indexes Level 3IndexAISQLServer
- tablespace 大檔案,undo,temp tablespace
- 一點疑惑:different from domain model and domain entityAI
- oracle exists and not existOracle
- 【檢視】oracle 資料字典檢視之 DBA_OBJECTS / ALL_OBJECTS / USER_OBJECTS(OBJ)OracleObject
- What is meant by Primary Index and Secondary IndexIndex
- skip_unusable_indexesIndex
- The Secrets of Oracle Bitmap IndexesOracleIndex
- Restrictions on Create Bitmap IndexesRESTIndex
- Global Range Partitioned IndexesIndex
- Global Hash Partitioned IndexesIndex
- Maintenance of Global Partitioned IndexesAINaNIndex
- Overview of Indexes (194)ViewIndex
- Indexes and Nulls (198)IndexNull
- Oracle dba_objects和all_objects 最大的區別OracleObject
- document.domainAI
- Change domain timeAI