Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Move ALL Data from 1 Database into Another

Re: Move ALL Data from 1 Database into Another

From: <Dale_at_DataBee.com>
Date: Wed, 13 Nov 2002 11:04:52 -0800
Message-ID: <F001.005027D4.20021113110452@fatcity.com>


> What about foreign keys, functions, procedures, synonyms, roles, grants
and
> triggers (if any)? I've used the db link and it's faster than imp/exp but
> it doesn't do anything for other database objects. Also, if you do have
> foreign keys then a certain amount of pre-planning is necessary to move
> data in the right order.

Actually in this case you can have your cake and eat it too. Use the freeware DBATool to generate the database recreation scripts. Run the the scripts to create all of the structure (including foreign keys, procedures, synonyms etc). The DBATool can also generate scripts to disable (and re-enable) all of the foreign keys. Disable the FK's, pull the table data across via one or more DBLinks and run the FK re-enable script when done.

DBATool: http://www.DataBee.com/dt_home.htm

Kind Regards
Dale Edgar

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Dale_at_DataBee.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Nov 13 2002 - 13:04:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US