expdp 导出报ORA-01555: snapshot too old错误

本文介绍了解决ORA-31693错误的方法,包括调整数据库的UNDO_RETENTION参数,并修改APPLSYS.FND_LOBS表中FILE_DATA列的LOB保留设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ORA-31693: Table data object "APPLSYS"."FND_LOBS" 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 154 with name "_SYSSMU154_1434655980$" too small
SQL> show parameter undo;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
undo_management                      string      AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS1


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

MAX(MAXQUERYLEN)
----------------
16331

SQL> select retention from dba_lobs where owner='APPLSYS' and table_name='FND_LOBS';

RETENTION
----------
900
1. Modify the current UNDO_RETENTION for the database:
SQL>ALTER SYSTEM SET UNDO_RETENTION = 16500 scope=both sid='*';

2. Modify the LOB retention to become greater than the undersized retention parameter following the steps from Note:563470.1
SQL> alter table APPLSYS.FND_LOBS modify lob(FILE_DATA) (pctversion 5);
Table altered.

SQL> alter table APPLSYS.FND_LOBS modify lob(FILE_DATA) (retention);
Table altered.

3.  Query the lob retention again to verify that the change has taken hold:
SQL> select retention from dba_lobs where owner='APPLSYS' and table_name='FND_LOBS';

RETENTION
----------
16500
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值