【翻译自mos文章】DR$SS_IDX表无法被导出

DR$SS_IDX表无法被导出

来源于:
DR$SS_IDX Tables Can't Be Exported (文档 ID 1324656.1)

译者注:在英文原文中,一直都是说的DR#SS_IDX,而在实验中,是DR$,因此,翻译后的中文中,就使用DR$

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

症状:
当导出context 内部表(比如DR$SS_IDX0011$I,格式为DR$索引名称I/K/N/R,这个I/K/N/R代表的含义,暂时未弄清楚),会报如下的错误:

ORA-39166: Object DR#SS_IDX0011$I was not found.
ORA-31655: no data or metadata objects selected for job

当你手工以类似的表名去建立table并导出数据时,并不报上面的错误。


原因:
这是预料到的行为

这些DR$开头的表是当Text index 被建立时,在Oracle 内部被建立的额外对象(详细见NOTE:150453.1 - Strategy for Creating Oracle Text Indexes),这些额外对象不能单独被导出或者导入。

在 Utilities documentation 文档中,有如下提示:

"Several system schemas cannot be exported because they are not user schemas;  they contain Oracle-managed data and metadata. Examples of system schemas  that are not exported include *SYS*, ORDSYS, and MDSYS."

解决方案:
在原有的Text index 被导出导入时,这些DR$对象会作为依附的对象被导出导入。

你可能感兴趣的:(expdp,ora-39166,ORA-31655)