impdp导入ORA-31693 ORA-38500

在使用impdp导入数据时遇到ORA-31693和ORA-38500错误,原因是表结构不一致。该错误与XML DB无关,而是由于数据泵在比较导出文件和目标数据库的表元数据时使用的内部XDB特性。解决方案是检查并确保导出文件和目标表的元数据匹配。
摘要由CSDN通过智能技术生成

今天做导数的时候遇到这么个错误,怎么都导入不了!metlink上查了一下,居然是表结构不一致导致的。

下面是metlink的注释,11.2以后才出现。。

Oracle Server - Enterprise Edition - Version: 11.2.0.3 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Goal

IMPDP is getting error:

ORA-31693: Table data object "SYSADM"."PS_ACAD_CAR_TBL" failed to load/unload and is being skipped due to error:
ORA-38500: Unsupported operation: Oracle XML DB not present

This table is a standard table and does not use XML DB. Why is the XML DB error reported?

 

Solution

You are correct the issue is generated when tables have differences.  Here in an example.

create table u1.t1
(
col1 char(1) not null,
col2 char(1),
constraint pk_t1 primary key (col1) using index
);
insert into t1 values('a','a');
commit;

expdp u1/u1 DUMPFILE=exp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值