SQL> select event,sql_id,module from v$session where wait_class<>'Idle';
EVENT SQL_ID MODULE
------------------------------ -------------------------- --------------------
direct path read 6rg8ga126xt6s Data Pump Worker
SQL> set long 2000000
SQL> select sql_fulltext from v$sql where sql_id='6rg8ga126xt6s'
SQL_FULLTEXT
--------------------------------------------------------------------------------
CREATE TABLE "ET$00DT_2_SC("EDITLOG"), "CONTENTTEXT"
FROM RELATIONAL("ZLDOC"."BZ_DOC_LOG" NOT XMLTYPE) KU$
看来是在对ZLDOC"."BZ_DOC_LOG" 进行导出。
SQL> desc ZLDOC."BZ_DOC_LOG"
名称 是否为空? 类型
----------------------------------------- -------- ----------------------------
ID NOT NULL RAW(16)
ACTLOG_ID RAW(16)
ANTETYPE_ID RAW(16)
TITLE VARCHAR2(80)
CONTENT XMLTYPE STORAGE BINARY
ANONYM_DATA XMLTYPE STORAGE BINARY
STATUS NUMBER(1)
CREAT_TIME DATE
CREATOR VARCHAR2(50)
EDIT_TIME DATE
EDITOR VARCHAR2(50)
LOCKED VARCHAR2(2000)
EDITLOG XMLTYPE STORAGE BINARY
AFTER_LOG_ID RAW(16)
SECRET NUMBER(1)
SEALED NUMBER(1)
LOCKED_CP VARCHAR2(2000)
LOCKED_IP VARCHAR2(20)
LOCKED_AC VARCHAR2(20)
LOCKED_SE VARCHAR2(80)
CONTENTTEXT CLOB
看来是在导大对象出错了。
SQL> show parameter undo_reten
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
undo_retention integer
900
SQL>
SQL> select table_name,column_name,segment_name,pctversion,retention,SECUREFILE,retention_type
from dba_lobs
where table_name='BZ_DOC_LOG'
and column_name='CONTENTTEXT';