March 14, 2009
IMP-00093 Inconsistency dumpfile之问题解决
作者:eygle
出处:http://blog.eygle.com
这周在为客户做数据迁移时遇到了这个老问题,记录一笔。
客户环境是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 参数,当然后者更好一些。
Oracle9i仍然长盛不衰,客户环境随处可见。
Posted by eygle at 10:01 AM | Comments (4)
