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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- win10中recycle.bin什麼意思_win10中recycle.bin怎樣刪除Win10
- [20190920]Asynchronous Global Index Maintenance and Recycle Bin.txtIndexAINaN
- DDL、DML、DCL、DQL相關操作
- MySQL的DDL和DML操作語法MySql
- Begin end程式碼段裡面有DDL和DML,如果DDL成功了而DML失敗了,則DDL的程式碼也會回滾
- Oracle報performing DMLDDL operation over object in bin案例分析OracleORMObject
- TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tErrorObject
- 資料庫:淺談DML、DDL、DCL的區別資料庫
- MySQL--基礎知識點--DDL/DCL/DML/DPL/DQL/CCLMySql
- MsSql 資料庫使用sqlplus建立DDL和DML操作方法SQL資料庫
- 使用Network Recycle Bin啟用對映網路驅動器上的回收站
- MsSql資料庫使用SQL plus建立DDL和DML操作方法SQL資料庫
- Bug 31625618 DML Over a LOB Column ORA-3137 [3146]When the Bind Size is > 256k
- ObjectsObject
- Android去掉SrollView、GrdiView、RecycleAndroidView
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- Perform 3D地震抵抗設計ORM3D
- 2.3.2 Application Common ObjectsAPPObject
- zend_objects_store_putObject
- 2.3.2.1 Creation of Application Common ObjectsAPPObject
- 2.1.3.3 Container Data Objects in a CDBAIObject
- Oracle Parallel DMLOracleParallel
- MySQL DDL執行方式-Online DDL介紹MySql
- 5-Overview-Understanding Kubernetes ObjectsViewObject
- 2.2.5 Overview of Common and Local Objects in a CDBViewObject
- Objects as Points 論文總結Object
- mysql自動排序函式dense_rank() over()、rank() over()、row_num() over()用法和區別MySql排序函式
- Jenkins Publish Over SSHJenkins
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- DML_The OUTPUT Clause
- ddl練習
- 好用的java.util.Objects類JavaObject
- 淺談 Objective-C Associated ObjectsObject
- 2.3.2.3 Data-Linked Application Common ObjectsAPPObject
- 2.3.2.2 Metadata-Linked Application Common ObjectsAPPObject
- /usr/bin/python與/usr/bin/env python的區別Python
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON
- 論文解讀(Graphormer)《Do Transformers Really Perform Bad for Graph Representation?》ORM
- {"error":400,"message":"over quota"}Error