- 1、本文档共12页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
expimp 与 expdp impdp 对比 及使用中的一些优化事项 .
exp/imp 与 expdp/impdp 对比及使用中的一些优化事项
关于exp/imp 和 expdp/impdp, 之前整理的2篇Blog如下:
ORACLE 数据库逻辑备份 简单 EXP/IMP
/tianlesoftware/archive/2009/10/23/4718366.aspx
Oracle 10g EXPDP和 IMPDP使用说明
/tianlesoftware/archive/2009/10/16/4674224.aspx
一. exp/imp 与 expdp/impdp 对比
1.1 expdp/impdp调用Server端的API在执行操作,是数据库内部的job任务。
必须在服务器端执行。 而exp/imp 则没有限制。
1.2 exp/imp 与 expdp/impdp 的默认模式和原理不一样
1.2.1 exp/imp 不同模式原理
在metalink的这边文章中,提到了exp/imp的不同模式下的工作原理:
Parameter DIRECT: Conventional Path Export Versus Direct Path Export
[ID 155477.1]
/tianlesoftware/archive/2010/12/22/6090759.aspx
Starting with Oracle7 release 7.3, the Export utility provides two
methods for exporting table data:
- Conventional Path Export
- Direct Path Export
(1) Conventional path Export.
Conventional path Export uses the SQL SELECT statement to extract
data from tables. Data is read from disk into the buffer cache, and
rows are transferred to the evaluating buffer. The data, after
passing expression evaluation, is transferred to the Export client,
which then writes the data into the export file.
exp/imp 默认会是传统路径, 这种模式下,是用SELECT 加数据查询出来,
然后写入buffer cache, 在将这些记录写入evaluate buffer. 最后传到
Export客户端,在写入dump文件。
(2) Direct path Export.
When using a Direct path Export, the data is read from disk
directly into the export sessions program global area (PGA): the
rows are transferred directly to the Export sessions private buffer.
This also means that the SQL command-processing layer (evaluation
buffer) can be bypassed, because the data is already in the format
that Export expects. As a result, unnecessary data conversion is
avoided. The data is transferred to the Export client, which then
writes the data into the export file.
The default is DIRECT=N, which extracts the table data using the
conventional path.
This parameter is only applicable to the original export client.
Export DataPump (expdp) uses a Direct Path unload by default and
switches to External Table mode if required
您可能关注的文档
- Detection of herpesvirus genomes by polymerase chain reaction in cerebrospinal fluid.pdf
- Detection of Animal Species in Some Meat and Meat Products by Using DNA Microarray and RT-PCR.pdf
- Detection of partially simultaneously alive signals in storage requirement estimation for d.pdf
- Detection of Animal Species in Some Meat and Meat Products by Using DNA Microarray and RT PCR.pdf
- Determination of the force needed for closing a universal blowout preventer.pdf
- dev c++中文版使用手册.doc
- Development- II List Of Electives.pdf
- Developments in Iron Making and.pdf
- Development of the Semantic Web Must Begin at the Grass Roots Level 12.pdf
- Dfpjfn16篇英语六级优秀作文范文.doc
文档评论(0)