ORA-38301:can not perform DDL/DML over objects in Recycle Bin
以下轉自:http://blog.csdn.net/lansesl2008/article/details/16116749 作者:lansesl2008
ORA-38301:can not perform DDL/DML over objects in Recycle Bin
- 小白今天刪資料庫表空間WUIDXTABLESPACE的時候,報瞭如下的錯:
- SQL> drop tablespace WUIDXTABLESPACE including contents and datafiles;
- drop tablespace WUIDXTABLESPACE including contents and datafiles
- *
- ERROR at line 1:
- ORA-00604: error occurred at recursive SQL level 1
- ORA-38301: can not perform DDL/DML over objects in Recycle Bin
小白於是在網上搜啊搜,找到一個方法
- SQL> purge tablespace WUIDXTABLESPACE;
- Tablespace purged.
- SQL> drop tablespace WUIDXTABLESPACE including contents and datafiles;
- Tablespace dropped.
這裡涉及到recycle bin的概念,她是和普通物件公用表空間儲存空間的,或者說Recycle bin的物件要和普通物件搶奪儲存空間。當儲存空間不夠時,oracle會按照先入先出的原則覆蓋recycle bin的物件,也可以用如下方法來清空Recycle bin池:
1. 清空recycle bin中的表空間:
purge tablespace tablespace_name;
2. 清空某個表空間內的某個使用者的物件:
pruge tablespace tablespace_name user user_name
3. 清除當前使用者的物件:
purge recyclebin
4. 清除所有使用者的物件:
purge dba_recyclebin
5. sysdba許可權
drop table table_name purge 永久刪除
6. 刪除物件的關聯索引:
purge index index_name
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22207394/viewspace-1181543/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- performing DML/DDL operation over object in bin ORA-38301ORMObject
- performing DML/DDL operation over object in binORMObject
- ORACLE10.2.0.3 RAC for AIX,下alert日誌報performing DML/DDL operation over object in bin.OracleAIORMObject
- oracle recycle bin 研究Oracle
- How to purge the Oracle Database Recycle BinOracleDatabase
- Oracle 10 Recycle Bin回收站(轉)Oracle
- Oracle中的回收站(Recycle Bin)Oracle
- win10中recycle.bin什麼意思_win10中recycle.bin怎樣刪除Win10
- How To Search and Restore files from Site Collection Recycle BinREST
- DML、DDL、DCL區別
- DDL,DML,DCL區別
- 解決IllegalStateException: Can not perform this action after onSaveInstanceStateExceptionORM
- DML操作 DDL觸發器觸發器
- Oracle10g新特性:Recycle Bin回收站Oracle
- Oracle10g 中的回收站(Recycle Bin)Oracle
- DDL、DML、DCL、DQL相關操作
- Mysql 基礎操作 DDL DML DCLMySql
- oracle support nologging ddl dmlOracle
- Oracle DDL,DML,DCL,TCL 基礎概念Oracle
- MySQL的DDL和DML操作語法MySql
- Oracle OCP 1Z0 053 Q374(Recycle Bin)Oracle
- 關於DBA_OBJECTS的LAST_DDL_TIMEObjectAST
- Begin end程式碼段裡面有DDL和DML,如果DDL成功了而DML失敗了,則DDL的程式碼也會回滾
- oracle goldengate 配置DML&DDL實驗OracleGo
- Oracle DBLINK 抽數以及DDL、DML操作Oracle
- 使用Logminer工具分析DML和DDL操作
- DML, DDL操作的自動提交問題
- Oracle報performing DMLDDL operation over object in bin案例分析OracleORMObject
- [20190920]Asynchronous Global Index Maintenance and Recycle Bin.txtIndexAINaN
- 配置支援DML和DDL操作同步的GoldenGateGo
- TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tErrorObject
- 【新炬網路名師大講堂】Oracle中的回收站(Recycle Bin)Oracle
- 資料庫:淺談DML、DDL、DCL的區別資料庫
- oracle 監控 DML DDL 鎖 的4個檢視Oracle
- DDL,DML操作對結果快取的影響快取
- DDL,DML,DCL,TCL四種語言的簡介
- 【開發篇sql】 基礎概述(三) DDL和DMLSQL
- 查詢依賴關係的objects 是否有被DDL過Object