Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Rename instance name in SQL Server 2008 R2


Rename instance name in SQL Server 2008 R2

Author
Message
SQLKnowItAll
SQLKnowItAll
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2798 Visits: 3681
ndevr (5/14/2012)
whats is the best practice for prod server Named Instance or Default instance? Please suggest (Pros and cons)

Thanks!

Personally, I find no benefit to having a named instance if you only will have 1 instance. If you have more than 1 instance, it is up to you whether or not to have 1 default and other named or just to make them all named. Really, there aren't many general pros and cons.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
RBarryYoung
RBarryYoung
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9438 Visits: 9517
I always use named instances, because I never know for sure if I may need to add another instance (permanently or temporarily) on the current server.

Since, as already noted, you cannot rename them, I find it easier to just give them all unique names. That way, if I ever need to have two instances temporarily reside on the same server, it's no problem.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
SQLKnowItAll
SQLKnowItAll
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2798 Visits: 3681
RBarryYoung (5/14/2012)
I always use named instances, because I never know for sure if I may need to add another instance (permanently or temporarily) on the current server.

Since, as already noted, you cannot rename them, I find it easier to just give them all unique names. That way, if I ever need to have two instances temporarily reside on the same server, it's no problem.
Just curious... What changes with your scenario if you have to add an instance? I, personally, still don't see any issues. If you have to have temporarily reside on the same server, there is still no issue with 1 named and 1 default.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
RBarryYoung
RBarryYoung
SSCrazy Eights
SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)SSCrazy Eights (9.4K reputation)

Group: General Forum Members
Points: 9438 Visits: 9517
SQLKnowItAll (5/14/2012)
RBarryYoung (5/14/2012)
I always use named instances, because I never know for sure if I may need to add another instance (permanently or temporarily) on the current server.

Since, as already noted, you cannot rename them, I find it easier to just give them all unique names. That way, if I ever need to have two instances temporarily reside on the same server, it's no problem.
Just curious... What changes with your scenario if you have to add an instance? I, personally, still don't see any issues. If you have to have temporarily reside on the same server, there is still no issue with 1 named and 1 default.


If I am moving it from another server, then I don't have to give it a new instance name, it already has one. Since I name the instances (as opposed to the server names, which are under networking's control), then I always know what they are, no matter what server-name they are running on. And if two or more have to co-exist for a while (happens all the time), then I don't have to worry about changing the instance names.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
SQLKnowItAll
SQLKnowItAll
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2798 Visits: 3681
RBarryYoung (5/14/2012)
SQLKnowItAll (5/14/2012)
RBarryYoung (5/14/2012)
I always use named instances, because I never know for sure if I may need to add another instance (permanently or temporarily) on the current server.

Since, as already noted, you cannot rename them, I find it easier to just give them all unique names. That way, if I ever need to have two instances temporarily reside on the same server, it's no problem.
Just curious... What changes with your scenario if you have to add an instance? I, personally, still don't see any issues. If you have to have temporarily reside on the same server, there is still no issue with 1 named and 1 default.


If I am moving it from another server, then I don't have to give it a new instance name, it already has one. Since I name the instances (as opposed to the server names, which are under networking's control), then I always know what they are, no matter what server-name they are running on. And if two or more have to co-exist for a while (happens all the time), then I don't have to worry about changing the instance names.
I still don't understand, I guess. If you move a default instance to another machine, you can still make it the default instance. Are you saying, maybe, that in your case you probably already have a default instance on the "new" server and therefore can't move a default instance to that machine easily or have to add a name to it? In that case, I understand. I am not arguing, I am just trying to understand since I know you have more experience than I.

Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
freermottram
freermottram
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 1
You are talking about naming conventions, which are best practice in my book. Default names shouldn't be used in production envs for a few reasons:

1. It avoids any clashes (such as moving the default instance to a server already running a default instance)

2. It can describe more fully the instance

3. Instances can be managed

4. Default names for anything are more vulnerable to attack


I also change the default port whenever it's feasible.


The only 2 real reasons I can see for using the default instance are:

1. Dev environments where you just want to connect to a DB

2. You need to allow others to easily discover the instance

I think a default instance name says "hey I'm just a plain old vanilla instance and you're free to mess around with me". If you name it something descriptive, people are a lot less likely to mess because they think the instance has a specific role and has been set up for that role. If you see an instance called ACCOUNTS, you'll think more than twice about changing anything!
yoftee47
yoftee47
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 0
Thank you a lot. keep it up.:-D
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search