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: Changing the SID of a database

Re: Changing the SID of a database

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Mon, 04 Mar 2002 08:18:41 -0800
Message-ID: <F001.0041E515.20020304081841@fatcity.com>


it's doable. You will need to do a number of things before you can open the database, including recreating the controlfile (to change the sid) and renaming all the datafiles to new locations (so you don't overwrite the original database)

The easiest way (but not the shortest time) to do this would be to do a full database export, create the new database, with the SID you want and all the tablespaces with the new datafiles, import the full export with DESTROY=N and IGNORE=Y (this is VERY important!!!!! or you will overwrite the original datafiles).

you can also export every user individually and import them into the new database.... safest way but most time-consuming and biggest pain in the butt way to do it


Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball http://sports.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 Mon Mar 04 2002 - 10:18:41 CST

Original text of this message

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