客户在做impdp时,报“ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'”...

昨天快下班时,客户在QQ上发来信息,说在做impdp测试时,一直报ORA-30036,undotbs表空间不足,查了一下,找到两个相关的文章:

735366.1 - Run Out Of Space On Undo Tablespace Using Import/Export DataPump
727894.1 - Import Data Pump Exhausts Undo Tablespace - ORA-30036

Cause

Excess undo generation can occur when there is a Primary Key (PK) constraint present on the system.

Import datapump will perform index maintenance and this can increase undo usage especially if there is other DML occurring on the database).

Solution

Disable constraints for Primary Keys (PK) on the database during import datapump load.

This will reduce undo as index maintenance will not be performed.

用以下测试通过:

1、先导入数据

1)CONTENT=METADATA_ONLY
TABLE_EXISTS_ACTION=REPLACE
EXCLUDE=CONSTRAINT
EXCLUDE=INDEX

2)CONTENT=DATA_ONLY

2、创建索引,启用约束等等

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21282/viewspace-1033679/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21282/viewspace-1033679/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值