drop user lcs cascade;create user lcs identified by lcs ;,我来为大家科普一下关于怎么解析oracle dmp文件?以下内容希望对你有帮助!
怎么解析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;
工作时间:8:00-18:00
客服电话
电子邮件
扫码二维码
获取最新动态