怎么解析oracle dmp文件(运维之OracleDB)

 2024-11-12  阅读 872  评论 0

摘要:drop user lcs cascade;create user lcs identified by lcs ;,我来为大家科普一下关于怎么解析oracle dmp文件?以下内容希望对你有帮助!怎么解析oracle dmp文件drop user lcs cascade;create user lc

drop user lcs cascade;create user lcs identified by lcs ;,我来为大家科普一下关于怎么解析oracle dmp文件?以下内容希望对你有帮助!

怎么解析oracle dmp文件(运维之OracleDB)

怎么解析oracle dmp文件

drop user lcs cascade;

create user lcs identified by lcs ;

--授权

grant all privileges to lcs;

grant connect to lcs;

grant dba to lcs;

--指定转储文件和日志文件所在的目录

create directory dpdata as '/home/oracle/dpdata';

-- Grant/Revoke object privileges

grant execute, read on directory dpdata to lcs with grant option;

grant connect to lcs with admin option;

grant dba to lcs with admin option;

grant exp_full_database to lcs with admin option;

grant imp_full_database to lcs with admin option;

grant gather_system_statistics to lcs with admin option;

impdp directory=dpdata dumpfile=AIMSDATA20150526.DMP

第一次执行impdp命令遇到的错误:

ORA-39006: internal error

ORA-39213: Metadata processing is not available

解决方法:

以sysdba的身份登录,执行

SQL> exec dbms_metadata_util.load_stylesheets

,

版权声明:xxxxxxxxx;

原文链接:http://cn.tdroid.net/ced2eCz0EBQwBX1U.html

发表评论:

管理员

  • 内容265617
  • 积分0
  • 金币0
关于我们
lecms主程序为免费提供使用,使用者不得将本系统应用于任何形式的非法用途,由此产生的一切法律风险,需由使用者自行承担,与本站和开发者无关。一旦使用lecms,表示您即承认您已阅读、理解并同意受此条款的约束,并遵守所有相应法律和法规。
联系方式
电话:
地址:广东省中山市
Email:
注册登录
注册帐号
登录帐号

Copyright © 2022 太卓开发网 Inc. 保留所有权利。 泰达科技网易库网

页面耗时0.1040秒, 内存占用1.33 MB, 访问数据库18次