【MOS】EXPDP Fails ORA-39165: Schema SYS Was Not Found (文件 ID 553402.1)

lhrbest發表於2016-12-16
DataPump Export (EXPDP) Fails With Error ORA-39165: Schema SYS Was Not Found (文件 ID 553402.1)

In this Document

Symptoms
Cause
Solution
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 29-Jan-2015***

SYMPTOMS

DataPump export of table SYS.AUD$ fails with errors:

ORA-39165: Schema SYS was not found.
ORA-39166: Object AUD$ was not found.
ORA-31655: no data or metadata objects selected for job
Job "SYS"."SYS_EXPORT_TABLE_01" completed with 3 error(s) at 13:49:47

CAUSE

There is a restriction on dataPump export. It cannot export schemas like SYS, ORDSYS, EXFSYS, MDSYS, DMSYS, CTXSYS, ORDPLUGINS, LBACSYS, XDB, SI_INFORMTN_SCHEMA, DIP, DBSNMP and WMSYS in any mode. The Utilities Guide indicates the restriction only on full export mode, but the restriction actually applies to all modes.

SOLUTION

Export the table SYS.AUD$ using the traditional export:

#> exp system/<password> file=dumpfile.dmp log=logfile.log tables=sys.aud$


Other options are:

  • Use CTAS (Create Table As Select) to copy the SYS.AUD$ data into a non-restricted schema.

  • Use the DBMS_AUDIT_MGMT package of Audit Vault to manage and purge audit data (see Note 731908.1).
    This allows for the facility to move the AUD$ table out of the SYSTEM tablespace, which can negate the need to export the table.

NOTE: 
This issue also applies to other SYS owned auditing tables such as FGA_LOG$

 

REFERENCES

BUG:5647223 - DATAPUMP EXPORT FAILS ORA-31655
NOTE:731908.1 - New Feature DBMS_AUDIT_MGMT To Manage And Purge Audit Information


About Me

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

本文來自於MOS轉載文章(文件 ID 553402.1)

小麥苗雲盤地址:http://blog.itpub.net/26736162/viewspace-1624453/

● QQ群:230161599     微信群:私聊

聯絡我請加QQ好友(642808185),註明新增緣由

版權所有,歡迎分享本文,轉載請保留出處

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

手機長按下圖識別二維碼或微信客戶端掃描下邊的二維碼來關注小麥苗的微信公眾號:xiaomaimiaolhr,免費學習最實用的資料庫技術。

wpsF8C8.tmp

 

【MOS】EXPDP Fails ORA-39165: Schema SYS Was Not Found (文件 ID 553402.1)

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2130832/,如需轉載,請註明出處,否則將追究法律責任。

相關文章