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: export/import on the same server

Re: export/import on the same server

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Tue, 05 Feb 2002 07:13:46 -0800
Message-ID: <F001.0040623E.20020205070524@fatcity.com>

Dave,

are you planning on completely dropping the TEST database and recreating it from the PROD export? If so, you are right to be cautious.

If you want to refresh the data and the number of schema owners is small, you might consider just dropping the users and their objects then recreating the users in the TEST database.

Then you can just import fromuser= touser= and make sure that you are pointing to the TEST database (I'd log in via sqlnet, even though they are on the same box:

imp testdba/testdbapassword_at_test file= fromuser= touser= etc

If that won't work, then the next best thing to do would be to drop and recreate the TEST database, tablespaces/datafiles and all. Then use IGNORE=Y and DESTROY=N and again MAKE SURE YOU ARE POINTING TO TEST when you do the import.


Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Feb 05 2002 - 09:13:46 CST

Original text of this message

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