Full Datapump Import Fails With ORA-31685 & ORA-39112 Errors When Importing Views As a Privileged User (Doc ID 2029333.1)

Last updated on DECEMBER 12, 2016

Applies to:

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

Symptoms

Performing a full Datapump import fails with ORA-31685 and ORA-39112 errors when importing a view as a privileged user, such as user SYSTEM, e.g.:

Processing object type DATABASE_EXPORT/SCHEMA/VIEW/VIEW
ORA-31685: Object type  failed due to insufficient privileges. Failing sql is:
Processing object type DATABASE_EXPORT/SCHEMA/VIEW?GRANTOWNER_GRANT/OBJECT_GRANT
ORA-39112: Dependent object type OBJECT_GRANT:"<Schema Name>" skipped, base object type VIEW:"<Schema Name>"."<View Name>" could not be created


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms