【MOS】Why an Object Not Be Exported? ORA-39166 or ORA-31655 (文档 ID 2114233.1)

简介: 【MOS】Why Can an Object Not Be Exported? Expdp of SYSTEM User's Table Returns ORA-39166 or ORA-31655 (文档 ID 2114233.

【MOS】Why Can an Object Not Be Exported? Expdp of SYSTEM User's Table Returns ORA-39166 or ORA-31655 (文档 ID 2114233.1)

In this Document

Goal
Solution
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database - Standard Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

GOAL

This document explains why certain objects cannot be exported, and how to find those objects.

There are certain system generated schemas that are not exportable using exp or expdp because they contain Oracle-managed data and metadata. SYS, MDSYS, and ORDSYS are some examples.

In addition, there are other tables owned by users such as SYS or APEX_040200 which are automatically skipped during export, nor can those be exported intentionally. 

For example, certain tables owned by SYSTEM user like below cannot be exported:

% expdp system/manager directory=my_dir tables='REDO_DB'

Export: Release 12.1.0.2.0 - Production on Thu Mar 3 20:39:27 2016

Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=my_dir tables=REDO_DB
Estimate in progress using BLOCKS method...
Total estimation using BLOCKS method: 0 KB
Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
ORA-39166: Object SYSTEM.REDO_DB was not found or could not be exported or imported.
ORA-31655: no data or metadata objects selected for job
Job "SYSTEM"."SYS_EXPORT_TABLE_01" completed with 2 error(s) at Thu Mar 3 20:39:31 2016 elapsed 0 00:00:03

 

SOLUTION

Objects (tables, views, schemas, etc) which fall under either of below conditions are not exported with expdp because they are regarded as system maintained objects.

  • Object is listed in ku_noexp_view. 
    This view is a union of ku_noexp_tab and noexp$ tables. 
    Objects that are listed in this view are not exported.

  • Object is ORACLE_MAINTAINED='Y' in ALL_OBJECTS (and DBA_OBJECTS).

 

REFERENCES

NOTE:1912162.1  - 12.1.0.1 EXPDP Does Not Export APEX Schema
BUG:17373592  - EXPDP DOES NOT EXPORT APPLICATION EXPRESS OBJECTS CORRECTLY


About Me

...............................................................................................................................

本文来自于MOS转载文章(文档 ID  2114233.1)

小麦苗云盘地址:http://blog.itpub.net/26736162/viewspace-1624453/

● QQ群:230161599     微信群:私聊

联系我请加QQ好友(642808185),注明添加缘由

版权所有,欢迎分享本文,转载请保留出处

...............................................................................................................................

手机长按下图识别二维码或微信客户端扫描下边的二维码来关注小麦苗的微信公众号:xiaomaimiaolhr,免费学习最实用的数据库技术。

wpsF8C8.tmp

 

img_e3029f287d989cd04bd75432ecc1c172.png
目录
相关文章
|
存储 Oracle 关系型数据库
ORACLE DBA_OBJECTS视图中OBJECT_TYPE为LOB的对象查看
在ORACLE数据库中,DBA_OBJECTS视图中OBJECT_TYPE为LOB的对象是什么东西呢?其实OBJECT_TYPE为LOB就是大对象(LOB),它指那些用来存储大量数据的数据库字段。下面演示一下: CREATE TABLE TEST (        "ID"   NUMBER,...
2037 0
|
Oracle 关系型数据库 文字识别
【MOS】 EXPDP - ORA-39166 (Object Was Not Found) (文档 ID 1640392.1)
                                                                                           ...
1057 0
|
Oracle 关系型数据库 Unix
【MOS】中文文档列表 - Oracle Database (文档 ID 1533057.1)
中文文档列表 - Oracle Database (文档 ID 1533057.1) 类型: ...
3289 0
|
SQL Oracle 关系型数据库
11.2 Job Seperation causes WARNINGS and ORA-15025 ORA-27041 With Certain Users (文档 ID 1317692.1)
<p>11.2 Job Seperation causes WARNINGS and ORA-15025 ORA-27041 With Certain Users (文档 ID 1317692.1)</p> <p><br></p> <p></p> <p style="line-height:1.5; font-family:Simsun; font-size:12px"><stron
2016 0
|
数据库
Data Pump Client Gets UDE-8 ORA-31626 ORA-39086 (文档 ID 549781.1)
我的解决办法: 换个目录,重新导出,或者重启数据库。   Data Pump Client Gets UDE-8 ORA-31626 ORA-39086 (文档 ID 549781.
2343 0