How to upgrade from Oracle Express to Standard using the export / import dump method?

拥有回忆 提交于 2019-12-13 18:07:30

问题


I am trying to upgrade the Oracle DB from Express 11g to Standard 11g. I know how to export and import between two machines that run Express, but when i need to import the dump on Standard, i have no idea where to put the .dmp file or how to import it.

For the export i am using this command:

expdp Test/Pc DIRECTORY=DATA_PUMP_DIR DUMPFILE=EX2.dmp

Which creates a dump file in this location:

 C:\oracle\app\oracle\admin\xe\dpdump\EX2.dmp

Now, if i wanted to just import the dump into an Express edition, i would run this command:

impdp Test/Pc DIRECTORY=DATA_PUMP_DIR DUMPFILE=EX2.dmp TABLE_EXISTS_ACTION=REPLACE

But that directory is not created when you install the Standard edition.

So my question is, what is the equivalent of that directory, when installing Standard edition? Also, is this the right way to upgrade from XE to STD? The upgrade using the assistant does not work for other unknown reasons.

来源:https://stackoverflow.com/questions/21309972/how-to-upgrade-from-oracle-express-to-standard-using-the-export-import-dump-me

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!