欢迎大家来到IT世界,在知识的湖畔探索吧!
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
免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://itzsg.com/34850.html