Oracle expdp 无数据
如果使用expdp且表没有数据导出会有影响吗?例如,我们运行一个作业来执行expdp,并且要转储的表在作业运行的实例上没有记录,是否会出现异常?这应该通过另一次检查来处理吗?
Will there be any impact if expdp is used and the table has no data to be exported? For example, we run a job to perform expdp and the table to be dumped has no records at the instance the job was run, will there be exceptions for this? Should this be handled by another checking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我刚刚尝试了一下,看起来效果很好。
如果您要导入转储文件,它应该重新创建表,但(显然)没有任何行。
I just tried it, and it looks like it works just fine.
If you were to import the dump file, it should recreate the table but (obviously) without any rows.
如果导出空表也不例外。导出实用程序将仅导出表的元数据(即 DDL)。
There will be no exception if you export an empty table. The export utility will just export the metadata for the table (i.e. the DDL).
expdp 将导出空表。尝试使用旧导出功能导出表将不会导出空表。
请参阅我关于该主题的博客文章。
http://tsells.wordpress.com/2011/02/10/oracle-11g2-does-not-export-empty-tables-when-using-exp-exe/
expdp will export empty tables. Trying to export tables using the legacy export functions will not export empty tables.
Please see my blog post here on the subject.
http://tsells.wordpress.com/2011/02/10/oracle-11g2-does-not-export-empty-tables-when-using-exp-exe/
数据泵不存在异常问题,除非您提到错误的表名。它应该可以正常工作。
我在这里找到了许多数据泵选项参考 http://www.acehints.com/p/site-地图.html
There is no question of exception in data pump unless until you mention a wrong table name. It should work properly.
I found many datapump options reference here http://www.acehints.com/p/site-map.html