I did something wrong with EXPDP / IMPDP

So I made an export of 10.2.0.1
expdp abc/def@ghi tablespace=abc directory=data_pump_dir dumpfile=abc12192011.dmp logfile=abc12192011.log
move the dumpfile to another machine and everything done import
impdp abc/def@ghi directory=data_pump_dir dumpfile=abc12192011.dmp logfile=impabc12192011.log
I thought she would incorporate everything in it... but miss me objects - VIEWS, PROCEDURES, FUNCTIONS, PACKAGES, SEQUENCES (curiously, TRIGGERS are there - most of them failed with no SEQUENCE is created), etc.

My question is am I doing something wrong? If this is not the case, how to import these objects into the new machine?

You export/import a tablespace. This tablespace contains all the views, indexes, triggers, sequences you want. So instead of tablespaces, you need to specify the patterns that you want to export, than doing the same thing in impdb too.

You can do expdp help = y for more details on the syntax.

schemas expdp TEST_DIR dumpfile = SCOTT directory = scott/tiger@db10g = SCOTT.dmp expdpSCOTT.log = logfile

Impdp scott/tiger@db10g schemas is SCOTT = TEST_DIR dumpfile = SCOTT.dmp logfile directory is impdpSCOTT.log

I hope this helps.

Mansoor

Tags: Database

Similar Questions

Maybe you are looking for