dbTalk Databases Forums  

Moving MSDE databases to SQL 2000 on same server

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Moving MSDE databases to SQL 2000 on same server in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ever90321@mypacks.net
 
Posts: n/a

Default Moving MSDE databases to SQL 2000 on same server - 06-07-2010 , 01:21 PM






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: ?

Thanks for any suggestions,
Todd

Reply With Quote
  #2  
Old   
Steve Foster
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-07-2010 , 04:00 PM






ever90321 (AT) mypacks (DOT) net wrote:

Quote:
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: ?
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

Reply With Quote
  #3  
Old   
ever90321@mypacks.net
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-07-2010 , 06:10 PM



On Jun 7, 4:00*pm, "Steve Foster" <stevefos... (AT) invalid (DOT) invalid> wrote:
Quote:
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

Reply With Quote
  #4  
Old   
Jim Behning SBS MVP
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-08-2010 , 07:51 AM



On Mon, 7 Jun 2010 15:10:38 -0700 (PDT), ever90321 (AT) mypacks (DOT) net wrote:

Quote:
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
not worth goofing with. The few times I have moved SQL databases all I
moved were the actual databses that were big.
See what SBS support is working on
http://blogs.technet.com/sbs/default.aspx
Check your SBS with the SBS Best Practices Analyzer
http://blogs.technet.com/sbs/archive...A/default.aspx

Reply With Quote
  #5  
Old   
Steve Foster
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-08-2010 , 09:23 AM



ever90321 (AT) mypacks (DOT) net wrote:

Quote:
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?
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

Reply With Quote
  #6  
Old   
ever90321@mypacks.net
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-08-2010 , 03:39 PM



On Jun 8, 9:23*am, "Steve Foster" <stevefos... (AT) invalid (DOT) invalid> wrote:
Quote:
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
Steve and Jim,

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.

Comparing the system databases between SQL Server and the various MSDE
installs, the sizes are all radically different so it wouldn't seem
wise to discard anything. Unless you have a better idea, my current
plan is to move all the system databases to our F: drive (where the
content databases currently reside), and leave the MSDE installations
intact. I'd love to make even more room, but this should give us
enough breathing space.

Thanks,
Todd

Reply With Quote
  #7  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-08-2010 , 05:41 PM



(ever90321 (AT) mypacks (DOT) net) writes:
Quote:
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, esquel (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

Reply With Quote
  #8  
Old   
ever90321@mypacks.net
 
Posts: n/a

Default Re: Moving MSDE databases to SQL 2000 on same server - 06-08-2010 , 06:00 PM



On Jun 8, 5:41*pm, Erland Sommarskog <esq... (AT) sommarskog (DOT) se> wrote:
Quote:
*(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

Hehe. There won't be a next thing, at least not on my watch. I'm
tired of having four job titles and will be out of here at the end of
July. Then somebody else can choose between resize and
repartition. ;-) Thanks.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.