ITPub博客

首页 > 数据库 > Oracle > impdp compress, table logging , performance test.

impdp compress, table logging , performance test.

原创 Oracle 作者:itpremier 时间:2010-11-26 13:51:47 0 删除 编辑

logging mode of table has effective in performance of impdp utility.

test scenario:

table test has rows 480W .

1, expdp scott/tiger directory=diskc dumpfile=outp1.dmp tables=test

--470MB

2, expdp scott/tiger directory=diskc dumpfile=outp2.dmp tables=test compression=all

--160MB, use compression to reduce I/O with same or less time.

1, table with logging .

impdp scott/tiger directory=diskc dumpfile=outp1.dmp tables=test

time costs: 108s, and there are many archived log produced.

2, table with nologging .

impdp scott/tiger directory=diskc dumpfile=outp1.dmp tables=test

impdp scott/tiger directory=diskc dumpfile=outp2.dmp tables=test

whether dumpfile compressed or not , time costs are nearly same: 38s,there is not archived log produced.

3, use parameter table_exists_action=append , to load data into table which is exists in the dest schema. The definition of dest table is not changed (including logging mode is not change by impdp).

--------the table logging mode characteristic is similar in every scenario.Such as impdp, sqlldr, insert /*+append */ ...

[@more@]

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

请登录后发表评论 登录
全部评论

注册时间:2008-11-27

  • 博文量
    253
  • 访问量
    773715