|
Checkout the EXP and IMP commands. Not sure if you have a Unix, Linux or Windows platform. With EXP (export), you can export a table, list of tables, entire schema or the entire database to a single file, with or without the actual data in the tables. Conversley, you then use IMP (import) to load the export into another database. As long as you are moving lateral or forward (i.e. 9i to 10g or 10g to 10g), this is supported. These commands are super fast. You should try a single, large table and check it out, and note the file size and duration of the export. You should be able to extrapulate a rough estimate on a full export size and time needed. Also, you may wish to check out the UTL_FILE package. When implemented, this allows you to, with the help of PL/SQL, write directly to a local oracle filesystem (Oracle calls them "Directories"). You could then conceivably use PL/SQL to insert the data into the tables. IMO, this would be the 2nd choice and should be done only after IMPorting the entire database first. Note that EXP can be set to export only the object (no data) as well. This would establish a duplicate database. I've used this method to create TEST and STAGING environments.
Last edited by ImaCubFan; 09-01-2008 at 10:44 PM..
Reason: Append another note
|