oracle 创建用户 导入备份数据

创建用户

create user cossjn identified by "cossjn"
  default tablespace CARRIER
  temporary tablespace CARRIER_TMP
  profile DEFAULT
  quota unlimited on CARRIER; --表空间
  -- quota表空间配额 防止某一个用户过度占用表空间的。 unlimited表示无限制 
-- Grant/Revoke role privileges 
grant connect to cossjn;
grant resource to cossjn;
grant dba to cossjn;   --赋DBA权限

impdp命令导入数据

备份文件 CARRIER20180226.DMP 放在目录 D:appadminadminorcldpdump

impdp coss_ln2/coss_ln2@orcl remap_schema=carrier:coss_ln2 directory=DATA_PUMP_DIR dumpfile=CARRIER20180226.DMP logfile=CARRIER20180417.log full=n transform=oid:n ignore=y 
原文地址:https://www.cnblogs.com/chigd/p/9989686.html