Question

I'm not able to import the full database from oracle 10g to 11g using impdp FULL=Y. It seems that the file path is differing so what shall I do? The impdp command is looking for oracle 10g path while importing into 11g db. is there any way to import full database from 10g to 11g using impdp?

Was it helpful?

Solution

A full export/import contains tablespace definitions with datafile paths as well, so impdp tries to create the datafiles with the original path.

Just create the tablespaces manually before running impdp, that is usually what I do. impdp will notice that the tablespaces already exist, and continue with the remaining objects.

You can extract the tablespace creation scripts as well if you want, using the sqlfile clause:

impdp user/password directory=... dumpfile=... sqlfile=ts.sql include=TABLESPACE

The above creates a ts.sql file containing the CREATE and ALTER statements for your tablespaces, which you can edit or use for creating the tablespaces.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top