如何使用 impdp 解决 oracle 导入中的数千个错误,我不知道在 expdp 期间使用了哪些参数?

how to resolve thousand of errors in oracle import using impdp where I don't know the what parameters were used during expdp?

我正在尝试使用 impdp 实用程序导入 oracle 11g 转储文件,但在这样做时,我遇到了两个主要错误:

  1. 首先,显示如下错误:
Processing object type DATABASE_EXPORT/TABLESPACE
ORA-39083: Object type TABLESPACE:"HIS_USER" failed to create with error:
ORA-01119: error in creating database file '/oracle/app/oracle/oradata/dwhrajdr1/his_user13.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.

所以为了解决这个问题,我创建了同名的表空间,但现在它显示 'HIS_USER' 表空间已经存在。

  1. 第二个,我收到数以千计的错误,显示用户或角色不存在:
Failing sql is:
GRANT EXECUTE ANY ASSEMBLY TO "DSS"
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'DSS' does not exist

请建议如何解决这些错误! 如何在不创建数百个 users/roles 或表空间的情况下导入转储文件?

您可以通过以下方式使用 impdp 生成 sql 语句。

http://www.dba-oracle.com/t_convert_expdp_dmp_file_sql.htm

然后相应地调整参数。

斯科特