Skip to content

expdp / impdp of schemas in PDB

— add tns entry for pdb in tnsnames.ora if it is not there

— export from source database

expdp user@sourcepdb dumpfile=myschema_june30.dmp logfile=myschema_june30.log directory=DATA_PUMP_DIR SCHEMAS=myschema

— import in target database

drop user myschema cascade;
–(no need to create schema user because import will create it)

impdp user@targetpdb dumpfile=myschema_june30.dmp logfile=imp_myschema_june30.log directory=DATA_PUMP_DIR SCHEMAS=myschema

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: