database 如何在 Oracle 11g(Application Express 版)中导出导入数据库?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22626970/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How To Export-Import Database in Oracle 11g(Application Express Edition)?
提问by Farhad Yasir
I am beginner in Oracle 11g. I have created a database in oracle 11g(Application Express).
我是 Oracle 11g 的初学者。我在 oracle 11g(Application Express)中创建了一个数据库。
I want to export this database with all data(whole workspace) and import this to another computer where I already have installed Oracle.Is there any way to export-import the whole workspace in oracle 11g application express?
我想导出包含所有数据(整个工作区)的这个数据库并将其导入到另一台我已经安装了 Oracle 的计算机上。有什么办法可以在 oracle 11g application express 中导出-导入整个工作区?
回答by Drunix
For a full database export/import use
对于完整的数据库导出/导入使用
exp user@DB FULL=Y FILE=PATH_TO_DUMPFILE
imp user@DB FULL=Y FILE=PATH_TO_DUMPFILE
The user must have EXP_FULL_DATABASE resp IMP_FULL_DATABASE role (or something equivalent, like DBA). DB is your database (e.g. XE, if you have expreess edition)
用户必须具有 EXP_FULL_DATABASE 和 IMP_FULL_DATABASE 角色(或类似的角色,如 DBA)。DB 是您的数据库(例如 XE,如果您有快速版)

