Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Greetings DBA Experts,

I have changed my Oracle SID in the past by updating the init.ora file, and updating my environment (vars, tns, lintener, etc..), yet not since we moved to 11g with ASM. I come from an app development team, and when I ask our system-level DBA's the best way to do this, they just reply with "Why would you want to do that?". Is there anything extra or different I need to do in renaming a SID with respect to our ASM instance?
Thanks very much!

share|improve this question
I'll ask the same question as your DBAs. Why do you want to rename it? Are you taking a production copy or something? – Phil Aug 1 '12 at 21:18
Hi Phil, thanks for your reply... we have dev, qa, and production instances. All the have the "prod_db" sid. We would like to have the dev SID represent dev like "dev_db" and qa like "qa_db". The DB name can remain the same, just looking for a way to represent each instance uniquely. – dBurkeMeister Aug 1 '12 at 21:25
Understood. You can do this with different tns names - saves the hassle of renaming. Having said that I know first-hand how dangerous it is having non-prod DBs with the same name as prod DBs. – Phil Aug 1 '12 at 21:27
Ok, cool, thanks a lot. – dBurkeMeister Aug 1 '12 at 21:33

2 Answers

This blog post shows you the required steps. I'd think long & hard before doing so, though as recreating control files is not something to betaken lightly. You don't need to do anything with the +ASM instance.

share|improve this answer

When you just want to rename the ORACLE_SID there is no extra work to be done than you already did

(vars, tns, lintener, etc..)

The fiddling with controlfile is only needed when you want to rename the database, what not is what you want. In you case ASM does not change anything for you.

share|improve this answer
Great, thanks for chiming in on the ASM factor! – dBurkeMeister Aug 2 '12 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.