ORA-39181: Only partial table data may be exported due to fine grain access control

I got ” ORA-39181: Only partial table data may be exported due to fine grain access control ”  error in Oracle database.

 

ORA-39181: Only partial table data may be exported due to fine grain access control

 

Details of error are as follows.

ORA-39181: Only partial table data may be exported due to fine grain access control on "xxxxx"

Cause This is expected behavior. ORA-39181 is caused by an unprivileged user who tries to 
export a table with a fine grain access control policiy applied. The table owner is
 subject to access control and may not be able to export all rows in the table.

Action: Only the rows that can be seen by that user are exported. In order to preserve
 integrity of the table, the user importing the table should have enough privilege to 
recreate the table with the security policies at import time. Action: It is strongly 
recommended that the database administrator handles the export of this table.

 

 

Only partial table data may be exported due to fine grain access control on “xxxxx”

This ORA-39181 error is related to the unprivileged user who tries to export a table with a fine grain access control policiy applied. The table owner is subject to access control and may not be able to export all rows in the table.

 

Only the rows that can be seen by that user are exported. In order to preserve integrity of the table, the user importing the table should have enough privilege to recreate the table with the security policies at import time. Action: It is strongly recommended that the database administrator handles the export of this table.

 

To solve this error, run the following grant.

 

SQL> GRANT EXEMPT ACCESS POLICY to <SCHEMA_NAME>;
GRANT EXEMPT ACCESS POLICY to System;

 

Once the export is done, you can revoke this privilige as follows.

revoke EXEMPT ACCESS POLICY  from system;

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *