If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back  dBforums > Database Server Software > Oracle > Test & Production Have Same SID

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Registered User
Join Date: Oct 2010
Location: Orlando, FL
Posts: 261
Question Test & Production Have Same SID

I had was told I need an exact identical copy of our Oracle database server running on Linux for testing. This seemed smart so I stood up an identical copy of the O.S. and loaded as well as a backupset from my production server to the new test server. My question is can both the original production Oracle and the new testing Oracle database both have the same identical SID = orldb?

Will this be bad? I read the manual and understood that as long as both instances use separate SGA's on completely separate systems, there is no issue what so ever. And since we don't need them to be unique or fail over, we could keep them as similar as possible.

Thanks for any input and or advice!
Reply With Quote
  #2 (permalink)  
Registered User
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,612
same SID can exist on different servers
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Don't say, show. Don't promise, prove.
Reply With Quote
  #3 (permalink)  
Lead Application Develope
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 2,417
But if you are connecting to both of them from the same machine, the name in tnsnames must be different.
You do not need a parachute to skydive. You only need a parachute to skydive twice.
Reply With Quote
  #4 (permalink)  
Registered User
Join Date: Mar 2010
Location: Vienna, Austria
Posts: 149
Usually the problem is not the SID (apart from possible confusion) but the DBID.

If you have 2 (or more) databases with the same DBID you will face big problems i.e. maintaining a RMAN catalog database (the DBID is the primary key for the backup environment there).

It's also possible, that you run into troubles with Grid Control (I've never tried that)

You may, however, easily change the DBID (as well as the SID, if needed) with the Oracle "DBNEWID " utility.
"There is always an easy solution to every problem - neat, plausible, and wrong."
-- H.L. Mencken
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On