Migrating data from 9i on Unix to 10g on Linux
- 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.
19 Oct 2005