Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Temporarily Renaming the sgadefSID.dbf File
Hi
We clone very frequent (once a week at least) on the same machine and never encountered that problem yet, What are the steps you are taking??
Jack
"Morrow, Steve" To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> <SMorrow_at_admin cc: .usf.edu> Subject: Temporarily Renaming the sgadefSID.dbf File Sent by: root_at_fatcity.c om 10-04-2001 22:35 Please respond to ORACLE-L
Hi All,
Trying to clone our PROD to a test database on the same machine for testing our 734-->8i upgrade, and of course we're encountering the "can't-start-the-new-without-shutting-down-the-old" database problem (ie, ORA-9782 on the CREATE CONTROLFILE command). We've worked around this in the past by scheduling a time to bring down PROD.
I know that this is the safest, most reliable way (besides NOT doing this
on
a production box...but I have no choice), but believe it or not, I actually
saw a reference on a Metalink forum to rename the sgadefSID.dbf file, start
up the new database, then rename the file to its original name. Obviously
sgadef gets created at instance startup as a memory map, but it doesn't
look
like it's used for anything after that (it's certainly doesn't seem to be
written to). I do know that you can get an octal dump of the file to
determine the shared memory ID for whatever reason.
Everything else I've heard/seen about this file has pretty much said DON'T TOUCH IT!!! But if the instance only uses it at instance startup, is there any harm in renaming it temporarily to get the other database up? If so...why?
And have any of you tried renaming or deleting the file in your cloning (or other) efforts? Did it blow up, or work?
TIA,
Steve
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Morrow, Steve
INET: SMorrow_at_admin.usf.edu
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender en het origineel en eventuele kopieën te verwijderen en te vernietigen.
Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De algemene voorwaarden worden u op verzoek kosteloos toegezonden.
If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.
In carrying out its engagements, Ernst & Young applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: nlzanen1_at_EY.NL
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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 Apr 11 2001 - 04:08:31 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |