您的位置:首页 > 移动开发 > Objective-C

performing dml/ddl operation over object in bin错误

2011-08-30 10:25 537 查看
查看alert报警日志发现报了个performing dml/ddl operation over object in bin 错误,数据库是10.2.0.2版本的rac库。

经查有可能是对回收站里的表进行了ddl/dml操作导致。

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7

This problem can occur on any platform.

Symptoms

The Following Message is Produced on the Alert Log File constantly :

performing DML/DDL operation over object in bin.

performing DML/DDL operation over object in bin.

Cause

The issue is caused by Unsupported Operations on objects in the recyclebin.

There is a Limitation on Flashback Drop Feature , That you cannot use DML or DDL statements on objects in the recycle bin. , While Oracle permits queries against objects stored in the recycle bin.

Please Check the following Test Case :

SQL> create table t (t number);

Table created.

SQL> insert into t select rownum from tab;

10 rows created.

SQL> commit;

Commit complete.

SQL> drop table t;

Table dropped.

SQL> show recyclebin

ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME

---------------- ------------------------------ ------------ -------------------

T BIN$3aoHVu4DSgyrmBq+GbJiaw==$0 TABLE 2008-05-15:12:29:56

SQL> desc "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0"

Name Null? Type

----------------------------------------------------- -------- ------------------------------------

T NUMBER

SQL> select count(*) from "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0";

COUNT(*)

-----------

10

10 rows selected.

SQL> update "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0" set t=15;

update "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0" set t=15

*

ERROR at line 1:

ORA-38301: can not perform DDL/DML over objects in Recycle Bin

SQL> update "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0" set t=15;

update "BIN$3aoHVu4DSgyrmBq+GbJiaw==$0" set t=15

*

ERROR at line 1:

ORA-38301: can not perform DDL/DML over objects in Recycle Bin

Then check the Alert Log File You will Find The message is Produced :

performing DML/DDL operation over object in bin.

performing DML/DDL operation over object in bin.

Solution

Do Not use DML or DDL statements on objects in the recycle bin.

For All The Limitations and Restrictions on Flashback Drop Feature , Please check the following Document :

Note 435998.1

References

Note 435998.1 - What Do All 10g Flashback Features Rely on and what are their Limitations ?

Keywords
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐