ORA-31693, ORA-02354 and ORA-01555 with Export Datapump

Symptoms


ORA-31693: Table data object "YXFUND"."MF_NOTTEXTANNOUNCEMENT" failed to load/unload and is being skipped due to error:
ORA-02354: error in exporting/importing data
ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10$" too small 

cause



The old versions (consistent read) of the LOB can be specified by either the PCTVERSION or the RETENTION parameters.


For SecureFiles, only the RETENTION parameter can be specified.


for BasicFiles LOBs you can specify either PCTVERSION or RETENTION , but not both. 

- PCTVERSION : This parameter specifies the percentage of all used BasicFiles LOB data space that can be occupied by old versions of BasicFiles LOB data pages. Under 11g compatibility, this parameter is silently ignored when SecureFiles LOBs are created.

PCTVERSION is the default in manual undo mode and the default value is 10, meaning that older versions of the LOB data are not overwritten until they consume 10% of the overall LOB storage space.

You can specify the PCTVERSION parameter whether the database is running in manual or automatic undo mode. 

- RETENTION is the default in automatic undo mode. 

You can specify the RETENTION parameter only if the database is running in automatic undo mode. Oracle Database uses the value of the UNDO_RETENTION initialization parameter to determine the amount of committed undo data to retain in the database. In automatic undo mode, RETENTION is the default value unless you specify PCTVERSION. You cannot specify both PCTVERSION and RETENTION.

You can specify the optional settings after RETENTION only if you are using SecureFiles. 

You can see more details about the RETENTION parameter for SecureFiles and BasicFiles LOBs in the following link :

http://docs.oracle.com/cd/E11882_01/appdev.112/e18294/adlob_tables.htm#ADLOB45282
RETENTION Parameter for SecureFiles LOBs

http://docs.oracle.com/cd/E11882_01/appdev.112/e18294/adlob_tables.htm#ADLOB45281
RETENTION Parameter for BasicFiles LOBs


solution



SQL>show parameter undo


NAME                                 TYPE                              VALUE
------------------------------------ --------------------------------- ------------------------------
_gc_undo_affinity                    boolean                           FALSE
undo_management                      string                            AUTO
undo_retention                       integer                           900
undo_tablespace                      string                            UNDOTBS2


SQL> select max(maxquerylen) from v$undostat;


MAX(MAXQUERYLEN)
----------------
            1785


SQL> select COLUMN_NAME,PCTVERSION,RETENTION from dba_lobs where OWNER='YXFUND' and TABLE_NAME='MF_NOTTEXTANNOUNCEMENT';


COLUMN_NAM PCTVERSION  RETENTION
---------- ---------- ----------
CONTENT            10


SQL>ALTER SYSTEM SET UNDO_RETENTION = 7200 scope=both sid='*';


SQL>show parameter undo
 

NAME                                 TYPE                              VALUE
------------------------------------ --------------------------------- ------------------------------
_gc_undo_affinity                    boolean                           FALSE
undo_management                      string                            AUTO
undo_retention                       integer                           7200
undo_tablespace                      string                            UNDOTBS2




SQL> select COLUMN_NAME,PCTVERSION,RETENTION from dba_lobs where OWNER='YXFUND' and TABLE_NAME='MF_NOTTEXTANNOUNCEMENT';


COLUMN_NAM PCTVERSION  RETENTION
---------- ---------- ----------
CONTENT                     7200




SQL>alter table YXFUND.MF_NOTTEXTANNOUNCEMENT modify lob(CONTENT) (pctversion 5);


SQL>alter table YXFUND.MF_NOTTEXTANNOUNCEMENT modify lob(CONTENT) (retention);


参考my oracle support :ORA-31693, ORA-02354 and ORA-01555 with Export Datapump (文档 ID 1580798.1)
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值