DataPump Import (IMPDP) Can Fail With Error ORA-31696 If ACCESS_METHOD=DIRECT_PATH Is Manually Specified

(Doc ID 469439.1)

Last updated on MAY 16, 2013

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 16-MAY-2013***


The following situation:

1. Perform DataPump export
2. Change table structure by adding/removing columns.
3. Perform DataPump import

This does not work when the chosen ACCESS_METHOD is EXTERNAL_TABLES, because this method is checking the table metadata. This situation cannot be fixed in 10g and several workarounds have been indicated, such as:

- import the data to a temporary table and then use INSERT/SELECT to include it to the actual table
- use ACCESS_METHOD=DIRECT_PATH to import the data, as this access method does not check the table metadata before import. However, using this method, impdp is sometimes failing with ORA-31696 errors. Why?


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