【MOS】Why an Object Not Be Exported? 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 laterOracle 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- 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,免費學習最實用的資料庫技術。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2130831/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【MOS】 EXPDP - ORA-39166 (Object Was Not Found) (文件 ID 1640392.1)Object
- Why the “MAVEN2_CLASSPATH_CONTAINER will not be exported or published”MavenAIExport
- 【MOS】Top 5 Grid Infrastructure Startup Issues (文件 ID 1368382.1)ASTStruct
- Why Object.prototype.hasOwnProperty.call(myObj, prop)Object
- Android之android exported="false"作用AndroidExportFalse
- 【MOS】Parameter FILESIZE - Multiple Export Files (文件 ID 290810.1)Export
- 【MOS】Limitations of the Oracle Cost Based Optimizer (文件 ID 212809.1)MITOracle
- Middle Speed Decanter Centrifuge exported to KazakhstanExport
- 【MOS】Index Rebuild Is Hanging Or Taking Too Long (文件 ID 272762.1)IndexRebuild
- 【MOS】Cluster Health Monitor (CHM) FAQ (文件 ID 1328466.1 ID 2062234.1)
- 【MOS】Troubleshooting 'enq: TX - index contention' Waits (文件 ID 873243.1)ENQIndexAI
- 【MOS】Top Ten Performance Mistakes Found in Oracle Systems. (文件 ID 858539.1)ORMOracle
- 【MOS】EXPDP Fails ORA-39165: Schema SYS Was Not Found (文件 ID 553402.1)AI
- 【MOS】12c RAC "enq: IV - contention" (文件 ID 2028503.1)ENQ
- Why MongoDB? It's the developers, stupidMongoDBDeveloper
- OBJECT_ID和DATA_OBJECT_IDObject
- 【MOS】Redundant Interconnect ora.cluster_interconnect.haip (文件 ID 1210883.1)AI
- WhyASMLIBandwhynot?ASM
- Differences between DATA_OBJECT_ID and OBJECT_IDObject
- object_id 及 data_object_id (oracle)ObjectOracle
- DOM (文件物件模型(Document Object Model))物件模型Object
- Why Do People Commit Suicide?MITUIIDE
- 【MOS】Creating a PDB ... Fails With ORA-17630 (文件 ID 2090019.1)AI
- object_id and data_object_id in dba_objectsObject
- 【MOS】OCR/Vote disk 維護操作: (新增/刪除/替換/移動) (文件 ID 1674859.1)
- object_id 與data_object_id 的區別Object
- object_id與data_object_id淺析(一)Object
- object_id與data_object_id淺析(二)Object
- object_id與data_object_id的關係Object
- Europe Standard Workover rig mud system exported By OGEM Solids ControlExportSolid
- OBJECT_ID、DATA_OBJECT_ID與truncate的本質Object
- Ten Reasons Why Android Should Support OpenCLAndroid
- A bold young woman's identity exposed Pornographic WhyIDE
- How To Find The Object That Causing ORA-600 [kqlnrc_1] (文件 ID 1190673.1)Object
- Object Difference In TTS Migration From 10g To 11g (文件 ID 1643239.1)ObjectTTS
- Oracle中object_id和data_object_id的區別OracleObject
- data_object_id 及 object_id 的聯絡與區別Object
- object_id and data_object_id 區別_20091213Object