Data Migration
Data Migration
Server
You have been using an Oracle database to contain your business’ data for many years. You
have a production database, and periodically you move the data to a development or test
database to meet development or testing needs.
Problem
You have always used Oracle’s exp and imp tools to achieve moving data between Oracle
systems. You hear that these tools will be obsolete in future Oracle versions.
Solution
Use Oracle’s expdp and impdp tools to replace what you’ve customarily done with exp/imp. This
enables you to continue to meet the needs of your business; in addition, you are able to achieve
this task more quickly.
Setup
Oracle Data Pump uses Oracle directory objects. One of the parameters for the expdp/impdp is
DIRECTORY=. You must create an Oracle directory or it will default to a directory. This default
directory can be obtained with the following query:
SELECT directory_path FROM dba_directories WHERE directory_name = 'DATA_PUMP_DIR';
Create a directory on both the source and target databases with the following command.
If you want to change the name of the user that the data is loaded into then you will use
the remap_schema parameter (see below). You may also want to remap_tablespace(s).
remap_schema=PRODUSER:TESTUSER
remap_tablespace=PROD_DATA:TEST_DATA
remap_tablespace=PROD_INDX:TEST_INDX
Conclusion
Oracle’s Data Pump utility is a much improved tool over the prior tool. Change is difficult, but if
you begin to use the new tool, you will grow to appreciate the Data Pump tool. It has many
enhancements that ease the task of moving data.
If you need more information on how the Ross Group can help you solve you Data Migration
challenges, contact our sales team at 937-912-3273 or visit us on the web at
www.rossgroupinc.com.