数据库导入 *** 作:
sql> create user user IDentifIEd by passwd;
sql> create tablespace user datafile ‘/data/oracle/oradata/orcl/user.dbf‘ size 10G;
//单引号
sql> alter user user default tablespace user;
sql> grant create session,create table,create vIEw,create sequence,resource,connect,unlimited tablespace to user;
sql> create directory daoru as ‘/data/oracle/oraclesetup‘;
sql> grant read,write on directory daoru to tumi20190420;
impdp user/passwd directory=daoru dumpfile=daoru.dmp logfile=daoru.log
修改表空间大小
alter database datafile ‘/data/oracle/oradata/orcl/user.dbf‘ resize 20G;
授权
GRANT IMP_FulL_DATABASE to user;
替换表和tablesspace:
impdp newuser/passwd directory=daoru dumpfile=newdaoru.dmp logfile=newdaoru.log remap_schema=newuser:olduser remap_tablespace=newuser:olduser
总结以上是内存溢出为你收集整理的imp 导入以及换用户报错全部内容,希望文章能够帮你解决imp 导入以及换用户报错所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)