暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

IMP-00093 Inconsistency dumpfile之问题解决

原创 盖国强 2019-05-08
1026

问题描述

这周在为客户做数据迁移时遇到了这个老问题,记录一笔。

客户环境是9.2.0.6,在imp数据时遇到如下错误:

IMP-00093: Inconsistency between dumpfile constraint definition for table CATEGORY with columns ("ENTRY_ID")
IMP-00093: Inconsistency between dumpfile constraint definition for table RULED with columns ("RULEID")
IMP-00093: Inconsistency between dumpfile constraint definition for table FORMULA with columns ("FORMULAID")


专家解答

Oracle文档提示:

IMP-00093 Inconsistency between dumpfile constraint definition for table string with columns (string)
Cause: Import failed to locate a base table for a constraint that was defined in the dump file and statistics were not imported.
Action: Check to see if the table and constraint exist. If the table and constraint exist, then report this to Oracle Support Services as an Import internal error.

以上提示大致说明了问题原因,由于约束和统计信息的问题,导致imp时报错,根据Metalink记录,这是由于一个Bug引起的。
Bug 2834541 - IMP-93 on import when using the TOUSER parameter

据说是在 9.2.0.6 之后修复,但是我再9206中还是遇到了这个问题。
一个Workaround就是,在IMP时指定 indexes=no 或者statistics=none 参数,当然后者更好一些。


「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论