![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, My company runs an SBS 2003 server and has a number of third party products (backup software, virus checker, etc.) and MS products (Sharepoint) installed that each use their own MSDE installations. I am trying to move everything to SQL Server 2000, so I can then remove all these unnecessary MSDE installs and reclaim that space on the C: drive. (In the process, the databases will also be moving to a different partition.) I understand the detach and re-attach process, and also have docs for moving the system databases (master, model, msdb, tempdb), but there's something I'm not understanding. From what I understand, it's vitally important to maintain the link between the application database(s) and their system databases. But the process of consolidating everything would appear to want to link the MSDE application databases to the SQL Server 2000 system databases? Understand what I mean? Each database has its own master, model, etc. database, but the act of merging everything would seem to mean dropping all but the SQL Server 2000 system databases. Is this some basic SQL Server architecture issue that I'm missing, or will I not able to merge everything as I want? Also, if I am able to merge everything, I assume this will mean that all future databases will default to appearing on the new partition and not C: ? |
#3
| |||
| |||
|
|
ever90... (AT) mypacks (DOT) net wrote: [...] You don't need to try and copy/move the system databases. They're internal to SQL Server, and store things like "what databases exist and where", Agent jobs, and so on. "Model" is the template database used for creating new ones. All you want is the actual databases, plus the details for any SQL user accounts the applications rely on. -- Steve Foster For SSL Certificates, Domains, etc, visit.:https://netshop.virtual-isp.net |
#4
| |||
| |||
|
|
On Jun 7, 4:00*pm, "Steve Foster" <stevefos... (AT) invalid (DOT) invalid> wrote: ever90... (AT) mypacks (DOT) net wrote: [...] You don't need to try and copy/move the system databases. They're internal to SQL Server, and store things like "what databases exist and where", Agent jobs, and so on. "Model" is the template database used for creating new ones. All you want is the actual databases, plus the details for any SQL user accounts the applications rely on. -- Steve Foster For SSL Certificates, Domains, etc, visit.:https://netshop.virtual-isp.net Steve, Thanks for the reply. Part of my plan was to remove all the MSDE junk that exist in subdirectories of C:\Program Files\Microsoft SQL Server and reclaim the space. To do that, I need to do something with the system databases. Or are you saying this is something the software won't support? It's a bit terse, and I haven't actually tried it yet, but http://support.microsoft.com/kb/224071/en-us has instructions for moving the system databases. I'm just trying to understand how to follow through with the procedure without clobbering the databases used by SQL Server itself. Can it be done? Thanks again, Todd Todd Aren't the sample and master databases trivial in size? I would think |
#5
| |||
| |||
|
|
On Jun 7, 4:00*pm, "Steve Foster" <stevefos... (AT) invalid (DOT) invalid> wrote: ever90... (AT) mypacks (DOT) net wrote: [...] You don't need to try and copy/move the system databases. They're internal to SQL Server, and store things like "what databases exist and where", Agent jobs, and so on. "Model" is the template database used for creating new ones. All you want is the actual databases, plus the details for any SQL user accounts the applications rely on. -- Steve Foster For SSL Certificates, Domains, etc, visit.:https://netshop.virtual-isp.net Steve, Thanks for the reply. Part of my plan was to remove all the MSDE junk that exist in subdirectories of C:\Program Files\Microsoft SQL Server and reclaim the space. To do that, I need to do something with the system databases. Or are you saying this is something the software won't support? It's a bit terse, and I haven't actually tried it yet, but http://support.microsoft.com/kb/224071/en-us has instructions for moving the system databases. I'm just trying to understand how to follow through with the procedure without clobbering the databases used by SQL Server itself. Can it be done? |
#6
| |||
| |||
|
|
ever90... (AT) mypacks (DOT) net wrote: [...] My point was that you *don't* move the system databases between instances of SQL Server. At least, not generally. If you're consolidating content databases to fewer instances of SQL Server, you just want to take those content databases, and add them to a destination instance That instance already has its own set of system databases, so doesn't need the ones from the "donor" instances. What you do want to copy across from one set of system databases to another is the critical bits of system data, like SQL Logins (assuming the applications aren't so badly written that they assume use of "sa"). When you uninstall the redundant instances, you'll *throw away* their system databases. -- Steve Foster For SSL Certificates, Domains, etc, visit.:https://netshop.virtual-isp.net |
#7
| |||
| |||
|
|
Thanks for the followups. Adding up all the system databases used by SQL Server 2000 and five installations (?) of MSDE totals over 417 MB, which would be gold for us. This SBS 2003 server was set up with just a 12GB C: partition (I didn't do it!), and a software install over the weekend came with a prerequisite of .Net 3.5. We've largely been .Net- free (and I preferred it that way) up until now. I freed up a extra GB before hand, but the total install grabbed roughly 1.75 GB, and we're again perilously low on space. |
#8
| |||
| |||
|
|
*(ever90... (AT) mypacks (DOT) net) writes: Thanks for the followups. *Adding up all the system databases used by SQL Server 2000 and five installations (?) of MSDE totals over 417 MB, which would be gold for us. *This SBS 2003 server was set up with just a 12GB C: partition (I didn't do it!), and a software install over the weekend came with a prerequisite of .Net 3.5. *We've largely been .Net- free (and I preferred it that way) up until now. *I freed up a extra GB before hand, but the total install grabbed roughly 1.75 GB, and we're again perilously low on space. In all honesty, shouldn't you spend time on the root problem: the small C: partition? Moving 417 MB of system databases for SQL Server may give you some breathing room, but only for a month or two. Then the next thing comes. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008:http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005:http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000:http://www.microsoft.com/sql/prodinf...ons/books.mspx |
![]() |
| Thread Tools | |
| Display Modes | |
| |