尝试从Oracle 11.2导出空表 [英] Trying to export empty table from oracle 11.2

查看:82
本文介绍了尝试从Oracle 11.2导出空表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此命令导出空表.

I am using this command to export the empty tables.

alter system set DEFERRED_SEGMENT_CREATION=FALSE scope=both;


仅在执行此语句后创建表时,此方法才有效.
注意:我们在执行alter语句后重新启动系统.

如果创建了表并且它们为空,则在执行该语句之前,不会将其导出.

接下来,我们也尝试了以下这些命令


This will work only if tables are created after this statement execution.
NOTE: We restarted the system after executing the alter statement.

If tables are created and they are empty, before execution of this statement, they are not exported.

Next we tried these below commands also

expdp USER/USER@HOSPITAL schemas=HOSPITAL dumpfile=NEWSPARSH.dmp logfile=SH1.log


执行此命令后,它就挂在两者之间.


After executing this command, it is hanging in between.

expdp HOSPITAL/HOSPITAL@HOSPITAL schemas=HOSPITAL dumpfile=NEWRS.dmp logfile=SPARSH1.log

推荐答案

快速google找到 [ ^ ]解决方案
A quick google found This[^] solution


这篇关于尝试从Oracle 11.2导出空表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆