exp, imp performance test

本文通过实验对比了Oracle数据库中EXPDP与IMPDP两种数据导入导出工具的性能。结果显示,在直接加载模式下,EXPDP与IMPDP的性能相近,但IMPDP产生的文件大小更大约15%。此外,文章还详细分析了IMP与IMPDP的工作方式及参数设置,发现IMPDP在数据加载速度上比IMP快两倍。

1, exp direct=y recordlength=65535

IN direct mode, exp does comparable performance as expdp. Just the dump file larger round 15% .

2, imp commit=y recordlength=65535 buffer=10485760

imp does the essentially different way as impdp .

For imp, it always does a convertional import, Never direct load.

For impdp, it does the direct load.

So the test result is as expected: impdp is much faster than imp. 2 times faster or Evern great.

-- parameter of imp which about index

indexes=yes => imp execute index ddl , if the index is alread exists. Then skip it.

indexes=no =>imp does not execute index ddl .

skip_unusable_index=yes

If the index is alread exists and with unusable status, and if this parameter is not specified by imp . Then imp raise an error, the table data about the index will not be loaded. The default action about unusable index of imp is different with impdp . which(impdp) will load data , and stay index in orginal state or replace by DDL in dumpfile.

[@more@]

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

转载于:http://blog.itpub.net/350519/viewspace-1042213/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值