Run Out Of Space On Undo Tablespace Using Import/Export DataPump

 [ID 735366.1]

 修改时间 23-MAY-2011     类型 HOWTO     状态 PUBLISHED 

In this Document
  Goal
  Solution
  References


Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.4 - Release: 10.1 to 10.2
Information in this document applies to any platform.

Goal

Checked for relevance on 10-25-2010

With the old Import utility there is the option of using the parameters "buffer" and "commit=y".

That way, there are lower chances of running into issues with the Undo tablespace. Is there anything similar in Import DataPump or it's necessary to increase the Undo tablespace?

An example experiencing issues is when using DataPump to re-organize tables.

Solution

Unlike the traditional Export and Import utilities, which used the BUFFER, COMMIT, COMPRESS, CONSISTENT, DIRECT and RECORDLENGTH parameters, DataPump needs no tuning to achieve maximum performance.

DataPump "chooses" the best method to ensure that data and metadata are exported and imported in the most efficient manner.  Initialization parameters should be sufficient upon installation.

However, you can get

  ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'

during the Import (impdp) if indexes are present in some cases.

Impdp maintains indexes during import by default and does not use direct_path if tables and indexes
are already created.  However, if there is no index to enforce constraints and you specify 

access_method=direct_path 

with the DataPump Import command line, DataPump can use direct path method to do the import.

To get around potential issues with the UNDO tablespace in this case:

- load data by direct path by disabling primary key constraint (using ALTER TABLE ... MODIFY CONSTRAINT ... DISABLE NOVALIDATE) and using access_method=direct_path.
-after loading data, enable primary key constraint (using ALTER TABLE ... MODIFY CONSTRAINT ... ENABLE VALIDATE)


References

NOTE:413965.1 - Oracle DataPump Quick Start
NOTE:727894.1 - Import Data Pump Exhausts Undo Tablespace - ORA-30036
BUG:4035188 - EXCESSIVE UNDO AND TEMP GENERATION WHEN INSERT INTO INDEXED TABLE AS SELECT
BUG:4586712 - A LARGE AMOUNT OF UNDO IS USED AT IMPORT BY IMPDP

显示相关信息 相关的


产品
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
错误
ORA-30036

返回页首返回页首

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

转载于:http://blog.itpub.net/38267/viewspace-707197/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值