Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2010
    Location
    Orlando, FL
    Posts
    263

    Question Test & Production Have Same SID

    I had was told I need an exact identical copy of our Oracle 11.2.0.3 database server running on Linux for testing. This seemed smart so I stood up an identical copy of the O.S. and loaded 11.2.0.3 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!

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,658
    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.
    There are no stupid questions, but there are a LOT of Inquisitive Idiots.

  3. #3
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,435
    But if you are connecting to both of them from the same machine, the name in tnsnames must be different.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  4. #4
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •