首页 > 数据库 > Oracle > 空格导致的impdp时的ORA-07445错误
在某次数据库逻辑迁移过程中,在impdp导入时出现导入中断

并且在数据库日志中可以发现ORA-07445报错

trc文件内容:

查询mos可以得到相关文章:
| ORA-7445 [kpodpals] During DataPump Import (Doc ID 1096837.1) |
This is addressed in Bug 9626756, still under investigation. A no-name column "<space>" is included in the table definition.
原因是导入表中表名存在空格或者字段中存在空格,可以用以下语句查询出来
select * from (select table_name,replace(column_name,' ','*') as aa from dba_tab_columns) where aa like'%*%';
果然发现有表名或者字段名中存在空格


解决方法:
导入时排除掉问题表:
exclude=table:\"IN ('<TABLE_NAME>')\"
2. 源库修正错误表名或字段名后重新导出导入。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69993859/viewspace-2752937/ ,如需转载,请注明出处,否则将追究法律责任。