- 最后登录
- 2016-1-18
- 在线时间
- 80 小时
- 威望
- 44
- 金钱
- 645
- 注册时间
- 2011-12-27
- 阅读权限
- 10
- 帖子
- 89
- 精华
- 0
- 积分
- 44
- UID
- 125
|
6#
发表于 2013-1-18 12:39:05
本帖最后由 26856649 于 2013-1-18 14:01 编辑
现象重现的语句,及10053 trace文件 如下- DROP TABLE TEST
- /
- CREATE TABLE TEST AS SELECT * FROM dba_objects WHERE 1<0
- /
- BEGIN
- FOR CUR IN (SELECT * FROM DBA_OBJECTS WHERE ROWNUM <= 10000) LOOP
- INSERT INTO TEST
- (OWNER,
- OBJECT_NAME,
- SUBOBJECT_NAME,
- OBJECT_ID,
- DATA_OBJECT_ID,
- OBJECT_TYPE,
- CREATED,
- LAST_DDL_TIME,
- TIMESTAMP,
- STATUS,
- TEMPORARY,
- GENERATED,
- SECONDARY,
- NAMESPACE,
- EDITION_NAME)
- VALUES
- (CUR.OWNER,
- CUR.OBJECT_NAME,
- CUR.SUBOBJECT_NAME,
- CUR.OBJECT_ID,
- CUR.DATA_OBJECT_ID,
- CUR.OBJECT_TYPE,
- CUR.CREATED,
- CUR.LAST_DDL_TIME,
- CUR.TIMESTAMP,
- CUR.STATUS,
- CUR.TEMPORARY,
- CUR.GENERATED,
- CUR.SECONDARY,
- CUR.NAMESPACE,
- CUR.EDITION_NAME);
- COMMIT;
- END LOOP;
- END;
- /
- SELECT * FROM v$sql v WHERE v.SQL_TEXT LIKE '%TEST%'
- /
- select plan_table_output from table(dbms_xplan.display_cursor('39qtntf5j6nch',null,'peeked_binds'));
复制代码 |
|