In this Document Symptoms Cause Solution References --------------------

In this Document
 Symptoms
 Cause
 Solution
 References

 

--------------------------------------------------------------------------------


Applies to:
Oracle Server - Enterprise Edition - Version 10.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 23-NOV-2012***
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

 

参考至:http://blog.csdn.net/aicon/article/details/8575280

如有错误,欢迎指正

邮箱:czmcj@163.com

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值