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


Resource database - SQL Server 2008


Resource database - SQL Server 2008

Author
Message
Nakul Vachhrajani
Nakul Vachhrajani
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1824 Visits: 2127
Tom.Thomson (2/14/2011)
Sourav-657741 (2/13/2011)
The Resource database (mssqlsystemresource)depends on the location of the master database. If we move the master database, can't the resource database also would follow the master database?

No, in SQL SERVER 2008 (and 2008 R2) the resource database has to live in the same place as the SQL Server executables.


I believe the key here is to understand that during a SQL Server installation, the resource database is deployed, while the master and other system databases are "built".

We know that the resource database is replaced when a service pack is applied. How does the installer know where to look for the resource database files?
Whenver you install any program, the installer keeps track of where it deploys a file. In our case, it knows where it deployed the resource database during SQL Server deployment.
If the location of these files are changed, the installer can no longer patch these files - which is why the location of the resource database cannot be changed.

This is the standard behaviour of any installer.

Thanks & Regards,
Nakul Vachhrajani.
http://nakulvachhrajani.com
Be courteous. Drive responsibly.

Follow me on
Twitter: @sqltwins
Google Plus: +Nakul
khelloufsofiane 6183
khelloufsofiane 6183
Mr or Mrs. 500
Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)Mr or Mrs. 500 (573 reputation)

Group: General Forum Members
Points: 573 Visits: 179
Thanks for the answer.
ken.trock
ken.trock
Old Hand
Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)Old Hand (394 reputation)

Group: General Forum Members
Points: 394 Visits: 1713
Yes it's wrong. It was an error in an early version of that BoL page. The current up to date SQL 2008 BoL page (Moving System Databases) states that it cannot be moved.


Tom, that's kinda' rough. Setting my help to Try Online First yields the statement that says you can move Resource DB but it's not advisable. I had to go out to MSDN online specifically to see the page you're referring to. Either my help is messed up or the builtin viewer is only 99% trustworthy.

I think I want my 1 point credit like the other guy :-)

Ken
Peter Trast
Peter Trast
SSChasing Mays
SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)SSChasing Mays (642 reputation)

Group: General Forum Members
Points: 642 Visits: 655
I got the book answer right because I teach the classes but the FACT is that it is possible. The question was:

"Are we able to move Resource database in SQL Server 2008?"

And we ARE able. Period. Answer was wrong Smile The question should have been:

"SHOULD we move the Resource database?" if there is a reason NOT to.

I did it in my demo environment and everything is working great, including updates. Will it break? Probably, eventually.

Always remember, many we things we SHOULD not do are possible, like joining XP Home to a domain... interview question "Can you join XP Home to a domain?" and I said yes, you can... and I was right.

Did I have to change a registry setting? Sure I did and it worked! But you shouldn't...

It's all in the wording of the question BigGrin

Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
chris.mcgowan
chris.mcgowan
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1801 Visits: 524
I've moved this database on several of my servers using Microsoft guides???!

------------------------
I am the master of my fate:
I am the captain of my soul.
------------------------
Blog: http://sqlserver365.blogspot.co.uk/
Twitter: @ckwmcgowan
------------------------


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