Oracle9i - Transfer Data Between Database Via EXPIMP
Oracle9i - Transfer Data Between Database Via EXPIMP
Scenario : Table zstngrpplay in ECD contains 0 rows while table zstngrpplay in ECQ contains 13
rows. Copy all the zstngrpplay data in ECQ to ECD.
Note: schema for ECD is SAPECD and for ECQ is SAPECP.
PERNR
--------
90020081
90020556
90060738
90060760
90060824
90060895
90062003
90091266
90091269
9 rows selected.
2) Export data (ECQ)
(with parameter statistics = none)
ecibsstg01:oraecq 4> exp system/ecibs2mawi file=zstf.dmp tables=sapecp.zstf
query=\"where pernr like \'900%\'\" statistics=none
------------------------------------------------------------------------------
PERNR
--------
90020081
90020556
90060738
90060760
90060824
90060895
90062003
90091266
90091269
9 rows selected.
Additional : COMMIT = y. It will commit every transaction imported. This will save up UNDO
Tablespace.
For IMP only.
Additional : BUFFER = <in_bytes>. Buffer space specified for rows to be put in buffer
before writing to disk. The higher BUFFER value the rows could be put in.
This will speed up the process.
For EXP and IMP.
Additional : RESUMABLE = y. While importing data into database and user encounter
tablespace full or disk full problem, the IMP process would not abort and can
be resume after fixing the space problem. Should be use with
RESUMABLE_NAME and RESUMABLE_TIMEOUT.
For IMP only.
This will import the data from *.dmp file with total of 10MB of buffer allocated
for this process (to speed up the process) and can be resumable if encounter
any tablespace full problem. Time given for solving the problem before aborted
is 12 hours.