1.评估数据量(文件要拷贝到表空间文件夹)
impdp userid=system/oraclelj dumpfile=xxxx.dmp logfile=log.log estimate=STATISTICS
2.创建表空间(sqlplus / as sysdba进入SQL环境)
sqlplus / as sysdba
create tablespace xx_data datafile 'D:\oracle_rm\xx.dbf' size 10G autoextend on;
3.创建用户
create user xxxxx identified by xxxxx default tablespace xx_data;
4.赋予权限
grant connect,resource,imp_full_database,unlimited tablespace to xxxxx;
grant dba to xxxxx;
5.建立目录
create directory xdqrm_re as 'D:\oracle_rm\xdqrm_re';
6.对路径授权
grant read,write on directory xdqrm_re to xdqrm;
7.导入数据(退出SQL环境)
impdp xxxxx/xxxxx directory=xxxxx_re dumpfile=xxxxx.dmp logfile=20250519.log TRANSFORM=segment_attributes:n full=y ignore=y
1)遇到错误,是旧版 exp 导出文件

用旧版导入:

4272

被折叠的 条评论
为什么被折叠?



