Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1234

Resource database - SQL Server 2008 Expand / Collapse
Author
Message
Posted Monday, February 14, 2011 7:43 AM


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Friday, December 12, 2014 5:05 AM
Points: 1,453, Visits: 1,856
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
Post #1063532
Posted Monday, February 14, 2011 8:08 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Sunday, November 23, 2014 3:01 AM
Points: 470, Visits: 158
Thanks for the answer.
Post #1063547
Posted Monday, February 14, 2011 1:26 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, December 8, 2014 1:29 PM
Points: 323, Visits: 1,475
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
Post #1063837
Posted Monday, February 21, 2011 12:04 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, June 13, 2014 3:03 PM
Points: 594, 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 :) 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 :D


Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #1067246
Posted Thursday, August 18, 2011 4:17 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 5:00 AM
Points: 1,797, Visits: 499
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
------------------------

Post #1161635
« Prev Topic | Next Topic »

Add to briefcase «««1234

Permissions Expand / Collapse