- Use Oracle's export/import utilities to dump the data and ingest into the new database. This works well since you can also copy indexes, stored procedures, triggers, views, etc.
- Dump the data to a text file as you have indicated, then ingest with SQL*Loader or other utility (like External Tables).
- Create a database link from one system to another, then pull (or push) the data across the link with INSERT SELECT statements or the SQL*Plus COPY command.
In the last two options, you will have to generate the DDL (using the DBMS_METADATA pkg) to create the non-table objects in the new database.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.