Datapump Import Fails With ORA-31655 and ORA-39039

 Datapump Import generates the following error messages:


ORA-31655: no data or metadata objects selected for job
ORA-39039: Schema expression " IN ('<schema name>')" contains no valid schemas

Originally the Export was performed on Table Mode as follows:

DUMPFILE=
EXCLUDE=
CONTENT=
LOGFILE=
TABLES=            ====> notice that export is on Table mode.

While Import is performed on Schema Mode as follows:

DUMPFILE=
TABLE_EXISTS_ACTION=
CONTENT=
LOGFILE=
SCHEMAS=          ====> notice that we are trying to import on Schema level. 


CAUSA:

ORA-39039<Schema expression " IN ('<schema name>')" contains no valid schemas, which points to the fact that the dump file contains no data regarding the schema.

Datapump export was performed on table mode, so the import should also be performed on table mode as there is no valid information in the dump file about the schema.


SOLUZIONE:


1. Remove Schemas parameter from the import parameters.

- OR -

2. If it is needed to perform a Schema mode Import, perform the export in Schema Mode as well.

Post popolari in questo blog

ORA-12154: TNS: il listener non è attualmente a conoscenza del servizio richiesto nel descrittore di connessione

Create e Drop Pluggable Database