PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > SQL Configuration
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

SQL Configuration

Réponse
 
LinkBack Outils de la discussion
Vieux 02/10/2007, 03h14   #1
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL Configuration

We are running SQL 7 on a server, and are moving to a new server and will be
upgrading to SQL 2005 at the same time. Currently, both the old and the new
servers have two drives, one for programs and one for data.

With the current configuration, SQL 7 and the data are both installed on the
data drive, in the MSSQL7 directory. Our sys admin wants to install SQL 2005
on the program drive of the new server, while putting our databases on the
data drive. I argue that if SQL itself is on the program drive, then the
system databases will be in one place, while our databases will be in
another. So I'd prefer to have SQL 2005 installed on the data drive, as it
is now.

I'm interested in any feedback regarding what you guys think is the better
configuration, and also if there's any performance hit from having the
program and the database on two drives of the same machine.

Thanks,

Neil


  Réponse avec citation
Vieux 02/10/2007, 08h33   #2
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

My suggestion:
1- Install OS in drive X (you could make this drive set RAID1 for
redundancy)
2- Locate SQL Server data files in drive XX (Make this RAID10 if you are
looking perf + redundancy)
3- Locate Log files of data files in drive XXX (if possible make this RAID1
if you are looking for perf + redundancy, if perf is the only important
thing then go for RAID0)

This way gives you the best perf. If temp db is being used in your
environment, then you may be thinking to locate it on its dedicated drive as
well.

P.S.
You may not care about the suggestions in parenthesis.

If you do not have enough disks, then you could locate your OS files on
drive X, data and log files on drive XX.

--
Ekrem Önsoy



"Neil" <nospam@nospam.net> wrote in message
newsQhMi.654$VX3.602@nlpi070.nbdc.sbc.com...
> We are running SQL 7 on a server, and are moving to a new server and will
> be upgrading to SQL 2005 at the same time. Currently, both the old and the
> new servers have two drives, one for programs and one for data.
>
> With the current configuration, SQL 7 and the data are both installed on
> the data drive, in the MSSQL7 directory. Our sys admin wants to install
> SQL 2005 on the program drive of the new server, while putting our
> databases on the data drive. I argue that if SQL itself is on the program
> drive, then the system databases will be in one place, while our databases
> will be in another. So I'd prefer to have SQL 2005 installed on the data
> drive, as it is now.
>
> I'm interested in any feedback regarding what you guys think is the better
> configuration, and also if there's any performance hit from having the
> program and the database on two drives of the same machine.
>
> Thanks,
>
> Neil
>


  Réponse avec citation
Vieux 02/10/2007, 19h42   #3
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

The two drives we have are:

C: RAID 0+1 36 GB (2 - 36 GB 10,000 RPM SAS)
D: RAID 5 204 GB (4 - 72 GB 10,000 RPM SAS)


"Ekrem Önsoy" <ekrem@btegitim.com> wrote in message
news:3AC16AFB-D66F-4C52-9F06-7C87FBEA6D42@microsoft.com...
> My suggestion:
> 1- Install OS in drive X (you could make this drive set RAID1 for
> redundancy)
> 2- Locate SQL Server data files in drive XX (Make this RAID10 if you are
> looking perf + redundancy)
> 3- Locate Log files of data files in drive XXX (if possible make this
> RAID1 if you are looking for perf + redundancy, if perf is the only
> important thing then go for RAID0)
>
> This way gives you the best perf. If temp db is being used in your
> environment, then you may be thinking to locate it on its dedicated drive
> as well.
>
> P.S.
> You may not care about the suggestions in parenthesis.
>
> If you do not have enough disks, then you could locate your OS files on
> drive X, data and log files on drive XX.
>
> --
> Ekrem Önsoy
>
>
>
> "Neil" <nospam@nospam.net> wrote in message
> newsQhMi.654$VX3.602@nlpi070.nbdc.sbc.com...
>> We are running SQL 7 on a server, and are moving to a new server and will
>> be upgrading to SQL 2005 at the same time. Currently, both the old and
>> the new servers have two drives, one for programs and one for data.
>>
>> With the current configuration, SQL 7 and the data are both installed on
>> the data drive, in the MSSQL7 directory. Our sys admin wants to install
>> SQL 2005 on the program drive of the new server, while putting our
>> databases on the data drive. I argue that if SQL itself is on the program
>> drive, then the system databases will be in one place, while our
>> databases will be in another. So I'd prefer to have SQL 2005 installed on
>> the data drive, as it is now.
>>
>> I'm interested in any feedback regarding what you guys think is the
>> better configuration, and also if there's any performance hit from having
>> the program and the database on two drives of the same machine.
>>
>> Thanks,
>>
>> Neil
>>

>



  Réponse avec citation
Vieux 02/10/2007, 20h08   #4
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL Configuration - RAM

We are migrating to a new server, running Server 2003 SP2, and SQL Server
2005. The server has 2 GB of RAM, which seems a bit low to me. Any thoughts?

Thanks.


  Réponse avec citation
Vieux 02/10/2007, 20h18   #5
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

What's the rate of writing and reading against your databases? Actually,
this was the first question that should have been asked and answered.
Because this is what is gonna shape your disk configuration.

If it's read intensive, then RAID5 is OK (perf + redundancy). If it's write
intensive then think about RAID10 (perf + redundancy) for your data and log
files.

If you have a chance to buy another physical disk, then you could locate
your t-log files on a mirrored disk configuration (RAID1) which is gonna
give you max write perf with redundancy. And store your data files on a
3disk RAID5 configuration. Of course this is an option if your system is
write intensive.

--
Ekrem Önsoy


"Neil" <nospam@nospam.net> wrote in message
news:biwMi.30623$eY.13539@newssvr13.news.prodigy.n et...
> The two drives we have are:
>
> C: RAID 0+1 36 GB (2 - 36 GB 10,000 RPM SAS)
> D: RAID 5 204 GB (4 - 72 GB 10,000 RPM SAS)
>
>
> "Ekrem Önsoy" <ekrem@btegitim.com> wrote in message
> news:3AC16AFB-D66F-4C52-9F06-7C87FBEA6D42@microsoft.com...
>> My suggestion:
>> 1- Install OS in drive X (you could make this drive set RAID1 for
>> redundancy)
>> 2- Locate SQL Server data files in drive XX (Make this RAID10 if you are
>> looking perf + redundancy)
>> 3- Locate Log files of data files in drive XXX (if possible make this
>> RAID1 if you are looking for perf + redundancy, if perf is the only
>> important thing then go for RAID0)
>>
>> This way gives you the best perf. If temp db is being used in your
>> environment, then you may be thinking to locate it on its dedicated drive
>> as well.
>>
>> P.S.
>> You may not care about the suggestions in parenthesis.
>>
>> If you do not have enough disks, then you could locate your OS files on
>> drive X, data and log files on drive XX.
>>
>> --
>> Ekrem Önsoy
>>
>>
>>
>> "Neil" <nospam@nospam.net> wrote in message
>> newsQhMi.654$VX3.602@nlpi070.nbdc.sbc.com...
>>> We are running SQL 7 on a server, and are moving to a new server and
>>> will be upgrading to SQL 2005 at the same time. Currently, both the old
>>> and the new servers have two drives, one for programs and one for data.
>>>
>>> With the current configuration, SQL 7 and the data are both installed on
>>> the data drive, in the MSSQL7 directory. Our sys admin wants to install
>>> SQL 2005 on the program drive of the new server, while putting our
>>> databases on the data drive. I argue that if SQL itself is on the
>>> program drive, then the system databases will be in one place, while our
>>> databases will be in another. So I'd prefer to have SQL 2005 installed
>>> on the data drive, as it is now.
>>>
>>> I'm interested in any feedback regarding what you guys think is the
>>> better configuration, and also if there's any performance hit from
>>> having the program and the database on two drives of the same machine.
>>>
>>> Thanks,
>>>
>>> Neil
>>>

>>

>
>


  Réponse avec citation
Vieux 02/10/2007, 20h23   #6
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Hello Neil!


It always depends...

Nobody knows about your environment's workload. 2GB of RAM might be enough
for 80 people over 100 but may not be enough for other 20 people.
It's your DBA who is gonna decide if it's OK for your environment or not. He
or whoever your DBA, needs to analyse your needs.


--
Ekrem Önsoy



"Neil" <nospam@nospam.net> wrote in message
news:UGwMi.56827$YL5.48655@newssvr29.news.prodigy. net...
> We are migrating to a new server, running Server 2003 SP2, and SQL Server
> 2005. The server has 2 GB of RAM, which seems a bit low to me. Any
> thoughts?
>
> Thanks.
>


  Réponse avec citation
Vieux 02/10/2007, 20h42   #7
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

Database is mostly read-intensive. Very few writes after initial records are
created, but much reading of those records.

Given this configuration, and given that buying additional disks is not an
option, what would you recommend? All on D, or program on C and created data
files on D?

Thanks!

Neil


"Ekrem Önsoy" <ekrem@btegitim.com> wrote in message
news:5F216DE4-E291-4F79-AFEB-9067EC0E9478@microsoft.com...
> What's the rate of writing and reading against your databases? Actually,
> this was the first question that should have been asked and answered.
> Because this is what is gonna shape your disk configuration.
>
> If it's read intensive, then RAID5 is OK (perf + redundancy). If it's
> write intensive then think about RAID10 (perf + redundancy) for your data
> and log files.
>
> If you have a chance to buy another physical disk, then you could locate
> your t-log files on a mirrored disk configuration (RAID1) which is gonna
> give you max write perf with redundancy. And store your data files on a
> 3disk RAID5 configuration. Of course this is an option if your system is
> write intensive.
>
> --
> Ekrem Önsoy
>
>
> "Neil" <nospam@nospam.net> wrote in message
> news:biwMi.30623$eY.13539@newssvr13.news.prodigy.n et...
>> The two drives we have are:
>>
>> C: RAID 0+1 36 GB (2 - 36 GB 10,000 RPM SAS)
>> D: RAID 5 204 GB (4 - 72 GB 10,000 RPM SAS)
>>
>>
>> "Ekrem Önsoy" <ekrem@btegitim.com> wrote in message
>> news:3AC16AFB-D66F-4C52-9F06-7C87FBEA6D42@microsoft.com...
>>> My suggestion:
>>> 1- Install OS in drive X (you could make this drive set RAID1 for
>>> redundancy)
>>> 2- Locate SQL Server data files in drive XX (Make this RAID10 if you are
>>> looking perf + redundancy)
>>> 3- Locate Log files of data files in drive XXX (if possible make this
>>> RAID1 if you are looking for perf + redundancy, if perf is the only
>>> important thing then go for RAID0)
>>>
>>> This way gives you the best perf. If temp db is being used in your
>>> environment, then you may be thinking to locate it on its dedicated
>>> drive as well.
>>>
>>> P.S.
>>> You may not care about the suggestions in parenthesis.
>>>
>>> If you do not have enough disks, then you could locate your OS files on
>>> drive X, data and log files on drive XX.
>>>
>>> --
>>> Ekrem Önsoy
>>>
>>>
>>>
>>> "Neil" <nospam@nospam.net> wrote in message
>>> newsQhMi.654$VX3.602@nlpi070.nbdc.sbc.com...
>>>> We are running SQL 7 on a server, and are moving to a new server and
>>>> will be upgrading to SQL 2005 at the same time. Currently, both the old
>>>> and the new servers have two drives, one for programs and one for data.
>>>>
>>>> With the current configuration, SQL 7 and the data are both installed
>>>> on the data drive, in the MSSQL7 directory. Our sys admin wants to
>>>> install SQL 2005 on the program drive of the new server, while putting
>>>> our databases on the data drive. I argue that if SQL itself is on the
>>>> program drive, then the system databases will be in one place, while
>>>> our databases will be in another. So I'd prefer to have SQL 2005
>>>> installed on the data drive, as it is now.
>>>>
>>>> I'm interested in any feedback regarding what you guys think is the
>>>> better configuration, and also if there's any performance hit from
>>>> having the program and the database on two drives of the same machine.
>>>>
>>>> Thanks,
>>>>
>>>> Neil
>>>>
>>>

>>
>>

>



  Réponse avec citation
Vieux 02/10/2007, 21h30   #8
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Well, we kind of don't have a DBA. :-(

We have the system admin, who sets up the boxes, installs the client and
network software, etc., but knows next to nothing about SQL Server.

Then we have me, the developer, using SQL Server as the back end to our
database (Access), and proficient in developing in SQL Server, but somewhat
weak when it comes to administrating it.

So that's the reality of the situation.......

As for users, we have about 30 users connected over a LAN; about another
10-15 connected through a WAN; and are going to have a new location opening
with another, I'd guess, 5-10 users at most over the WAN. So total users is
about 50.

Thanks for your assistance!

Neil


"Ekrem Önsoy" <ekrem@btegitim.com> wrote in message
news:1D4A1157-F7D4-42EA-9B28-436D8F421E2D@microsoft.com...
> Hello Neil!
>
>
> It always depends...
>
> Nobody knows about your environment's workload. 2GB of RAM might be enough
> for 80 people over 100 but may not be enough for other 20 people.
> It's your DBA who is gonna decide if it's OK for your environment or not.
> He or whoever your DBA, needs to analyse your needs.
>
>
> --
> Ekrem Önsoy
>
>
>
> "Neil" <nospam@nospam.net> wrote in message
> news:UGwMi.56827$YL5.48655@newssvr29.news.prodigy. net...
>> We are migrating to a new server, running Server 2003 SP2, and SQL Server
>> 2005. The server has 2 GB of RAM, which seems a bit low to me. Any
>> thoughts?
>>
>> Thanks.
>>

>



  Réponse avec citation
Vieux 02/10/2007, 22h31   #9
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

Neil (nospam@nospam.net) writes:
> We are running SQL 7 on a server, and are moving to a new server and
> will be upgrading to SQL 2005 at the same time. Currently, both the old
> and the new servers have two drives, one for programs and one for data.
>
> With the current configuration, SQL 7 and the data are both installed on
> the data drive, in the MSSQL7 directory. Our sys admin wants to install
> SQL 2005 on the program drive of the new server, while putting our
> databases on the data drive. I argue that if SQL itself is on the
> program drive, then the system databases will be in one place, while our
> databases will be in another. So I'd prefer to have SQL 2005 installed
> on the data drive, as it is now.
>
> I'm interested in any feedback regarding what you guys think is the better
> configuration, and also if there's any performance hit from having the
> program and the database on two drives of the same machine.


First make sure that the sysadmin makes the system drive big enough. SQL
2005 takes quite a toll on the system disk, not the least the system disk.
Make sure that there is at least 50 GB.

Next, it's difficult to not install most of SQL 2005 on the system disk, so
don't fiddle with that. It's not an issue anyway.

What is more important is how you place your data files. You have two
disks, and you have a data file, a log file, and then you have two files for
tempdb. Put the data and log file for the database on separate drives
for better odds in case of a crash. And put the log file for tempdb
where the data file for the database and vice versa. Or get more
disks to spread out over.

As for the memory, 2GB is not that impressing, but depending on how big
the active part of the database is, how well-tuned it is etc, it may
be sufficient.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Vieux 03/10/2007, 05h17   #10
Greg D. Moore \(Strider\)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

"Neil" <nospam@nospam.net> wrote in message
news:cTxMi.54176$Um6.5889@newssvr12.news.prodigy.n et...
> Well, we kind of don't have a DBA. :-(
>
> We have the system admin, who sets up the boxes, installs the client and
> network software, etc., but knows next to nothing about SQL Server.
>
> Then we have me, the developer, using SQL Server as the back end to our
> database (Access), and proficient in developing in SQL Server, but
> somewhat weak when it comes to administrating it.
>
> So that's the reality of the situation.......
>
> As for users, we have about 30 users connected over a LAN; about another
> 10-15 connected through a WAN; and are going to have a new location
> opening with another, I'd guess, 5-10 users at most over the WAN. So total
> users is about 50.
>
> Thanks for your assistance!
>
> Neil
>


At my previous employeer we had a system with 4 gig of RAM (so only 2 gig
available to SQL Server) that served easily 14 million transaction a day.
And that was on now 8 year old hardware.

So, "it depends".




--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html


  Réponse avec citation
Vieux 03/10/2007, 06h28   #11
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

Thanks, Erland.

First, re. the 2 GB of RAM, considering that the db is not huge (two main
tables have about 60,000 records each; a few other tables with a few
thousand records; and then a bunch of smaller records); there are only about
50 users max; most of the activity is read-only, very little writing; and
the hardware is brand new; do you think that would be enough, or should I
push for more? I wouldn't count on the database being well-tuned.

Second, re. the size of the disks, when you said "make sure there is at
least 50 GB," wasn't sure if you meant 50 GB total, or 50 GB free space
after SQL Server is installed. Here are the specs for the disks:

C: RAID 0+1 36 GB (2 - 36 GB 10,000 RPM SAS)
D: RAID 5 204 GB (4 - 72 GB 10,000 RPM SAS)

Your input is appreciated. Thanks,

Neil


"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns99BDF0297F9BAYazorman@127.0.0.1...
> Neil (nospam@nospam.net) writes:
>> We are running SQL 7 on a server, and are moving to a new server and
>> will be upgrading to SQL 2005 at the same time. Currently, both the old
>> and the new servers have two drives, one for programs and one for data.
>>
>> With the current configuration, SQL 7 and the data are both installed on
>> the data drive, in the MSSQL7 directory. Our sys admin wants to install
>> SQL 2005 on the program drive of the new server, while putting our
>> databases on the data drive. I argue that if SQL itself is on the
>> program drive, then the system databases will be in one place, while our
>> databases will be in another. So I'd prefer to have SQL 2005 installed
>> on the data drive, as it is now.
>>
>> I'm interested in any feedback regarding what you guys think is the
>> better
>> configuration, and also if there's any performance hit from having the
>> program and the database on two drives of the same machine.

>
> First make sure that the sysadmin makes the system drive big enough. SQL
> 2005 takes quite a toll on the system disk, not the least the system disk.
> Make sure that there is at least 50 GB.
>
> Next, it's difficult to not install most of SQL 2005 on the system disk,
> so
> don't fiddle with that. It's not an issue anyway.
>
> What is more important is how you place your data files. You have two
> disks, and you have a data file, a log file, and then you have two files
> for
> tempdb. Put the data and log file for the database on separate drives
> for better odds in case of a crash. And put the log file for tempdb
> where the data file for the database and vice versa. Or get more
> disks to spread out over.
>
> As for the memory, 2GB is not that impressing, but depending on how big
> the active part of the database is, how well-tuned it is etc, it may
> be sufficient.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pro...ads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinf...ons/books.mspx



  Réponse avec citation
Vieux 03/10/2007, 06h30   #12
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Well, we certainly don't have anywhere near 14 million transactions a day
(most of the activity is reads, and, even that is not a huge amount). But
with only 2 GB RAM, what would be left for SQL, 1 GB? That doesn't seem like
a lot.

"Greg D. Moore (Strider)" <mooregr_deleteth1s@greenms.com> wrote in message
news:13g65tfdj2ldm20@corp.supernews.com...
> "Neil" <nospam@nospam.net> wrote in message
> news:cTxMi.54176$Um6.5889@newssvr12.news.prodigy.n et...
>> Well, we kind of don't have a DBA. :-(
>>
>> We have the system admin, who sets up the boxes, installs the client and
>> network software, etc., but knows next to nothing about SQL Server.
>>
>> Then we have me, the developer, using SQL Server as the back end to our
>> database (Access), and proficient in developing in SQL Server, but
>> somewhat weak when it comes to administrating it.
>>
>> So that's the reality of the situation.......
>>
>> As for users, we have about 30 users connected over a LAN; about another
>> 10-15 connected through a WAN; and are going to have a new location
>> opening with another, I'd guess, 5-10 users at most over the WAN. So
>> total users is about 50.
>>
>> Thanks for your assistance!
>>
>> Neil
>>

>
> At my previous employeer we had a system with 4 gig of RAM (so only 2 gig
> available to SQL Server) that served easily 14 million transaction a day.
> And that was on now 8 year old hardware.
>
> So, "it depends".
>
>
>
>
> --
> Greg Moore
> SQL Server DBA Consulting Remote and Onsite available!
> Email: sql (at) greenms.com
> http://www.greenms.com/sqlserver.html
>
>



  Réponse avec citation
Vieux 03/10/2007, 12h22   #13
Greg D. Moore \(Strider\)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

"Neil" <nospam@nospam.net> wrote in message
news:8OFMi.1576$oA2.30@nlpi068.nbdc.sbc.com...
> Well, we certainly don't have anywhere near 14 million transactions a day
> (most of the activity is reads, and, even that is not a huge amount). But
> with only 2 GB RAM, what would be left for SQL, 1 GB? That doesn't seem
> like a lot.


Again, depends a lot on your DB and its needs. If the DB is 10 GB in size
but 90% of all queries involve 250MB of data (which is not uncommon) then
you'll be fine.

So it's really hard to say. From a previous post of yours, I'd say it
sounds like it should be fine. But memory is fairly cheap, toss in another
2GB if you're concerned (above that you probably need to upgrade your OS/SQL
versions, which is not so cheap.)


--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html


  Réponse avec citation
Vieux 03/10/2007, 21h02   #14
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Right, forgot to mention the size of the DB (but did mention the general
number of records in another post here). The db is about half a gig in size.
So not very big at all.

Re. upgrade OS/SQL, my original post stated: "We are migrating to a new
server, running Server 2003 SP2, and SQL Server
2005." That is what we are upgrading to. You're saying that's not
sufficient?

Thanks!

Neil


"Greg D. Moore (Strider)" <mooregr_deleteth1s@greenms.com> wrote in message
news:13g6uqbd3mtkefe@corp.supernews.com...
> "Neil" <nospam@nospam.net> wrote in message
> news:8OFMi.1576$oA2.30@nlpi068.nbdc.sbc.com...
>> Well, we certainly don't have anywhere near 14 million transactions a day
>> (most of the activity is reads, and, even that is not a huge amount). But
>> with only 2 GB RAM, what would be left for SQL, 1 GB? That doesn't seem
>> like a lot.

>
> Again, depends a lot on your DB and its needs. If the DB is 10 GB in size
> but 90% of all queries involve 250MB of data (which is not uncommon) then
> you'll be fine.
>
> So it's really hard to say. From a previous post of yours, I'd say it
> sounds like it should be fine. But memory is fairly cheap, toss in
> another 2GB if you're concerned (above that you probably need to upgrade
> your OS/SQL versions, which is not so cheap.)
>
>
> --
> Greg Moore
> SQL Server DBA Consulting Remote and Onsite available!
> Email: sql (at) greenms.com
> http://www.greenms.com/sqlserver.html
>
>



  Réponse avec citation
Vieux 03/10/2007, 22h44   #15
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration

Neil (nospam@nospam.net) writes:
> First, re. the 2 GB of RAM, considering that the db is not huge (two
> main tables have about 60,000 records each; a few other tables with a
> few thousand records; and then a bunch of smaller records); there are
> only about 50 users max; most of the activity is read-only, very little
> writing; and the hardware is brand new; do you think that would be
> enough, or should I push for more? I wouldn't count on the database
> being well-tuned.


More memory is not going to hurt, but the database size you indicate
certainly does not scare me.

> Second, re. the size of the disks, when you said "make sure there is at
> least 50 GB," wasn't sure if you meant 50 GB total, or 50 GB free space
> after SQL Server is installed. Here are the specs for the disks:


I meant 50 GB in total. You are not going to fill up 36 GB on the spot,
but the strategy of Microsoft definitely is to bury a lot of stuff under
C:\Windows.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Vieux 04/10/2007, 08h57   #16
Ekrem Önsoy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Hi Neil,


I think you are over-excited about this migration. I know, you are trying to
learn more about things and make yourself confident about this stuff. But
the info we can share here with you is very general. SQL Server does not
have a general configuration. It always depends.

I and most of my friends here maybe can say that 500MB DB is a small
database. But nobody knows what's going on in your environment. Your queries
may have been written very badly and consume too much memory or processor
resources. Then it would be lie to say "2GB of RAM is enough for a 500MB
DB". Or your queries may be written very well, but there could be too many
complex transactions which consume too much resources.

So, you need to analyse your system yourself. Determine your needs and
configure your new environment according to your needs. I don't believe that
there is someone here who can definitely say "Window Server 2003 and SQL
Server 2005 and 2GB of RAM is going to be OK and you will not have any
problem with your new environment".

It's you who is going to find your questions' answers.

If you have anything that lingers in your mind, do not hasitate asking.
However, it's not possible to analyse your system by this way.


--
Ekrem Önsoy




"Neil" <nospam@nospam.net> wrote in message
news:0zSMi.54850$Um6.35492@newssvr12.news.prodigy. net...
> Right, forgot to mention the size of the DB (but did mention the general
> number of records in another post here). The db is about half a gig in
> size. So not very big at all.
>
> Re. upgrade OS/SQL, my original post stated: "We are migrating to a new
> server, running Server 2003 SP2, and SQL Server
> 2005." That is what we are upgrading to. You're saying that's not
> sufficient?
>
> Thanks!
>
> Neil
>
>
> "Greg D. Moore (Strider)" <mooregr_deleteth1s@greenms.com> wrote in
> message news:13g6uqbd3mtkefe@corp.supernews.com...
>> "Neil" <nospam@nospam.net> wrote in message
>> news:8OFMi.1576$oA2.30@nlpi068.nbdc.sbc.com...
>>> Well, we certainly don't have anywhere near 14 million transactions a
>>> day (most of the activity is reads, and, even that is not a huge
>>> amount). But with only 2 GB RAM, what would be left for SQL, 1 GB? That
>>> doesn't seem like a lot.

>>
>> Again, depends a lot on your DB and its needs. If the DB is 10 GB in
>> size but 90% of all queries involve 250MB of data (which is not uncommon)
>> then you'll be fine.
>>
>> So it's really hard to say. From a previous post of yours, I'd say it
>> sounds like it should be fine. But memory is fairly cheap, toss in
>> another 2GB if you're concerned (above that you probably need to upgrade
>> your OS/SQL versions, which is not so cheap.)
>>
>>
>> --
>> Greg Moore
>> SQL Server DBA Consulting Remote and Onsite available!
>> Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
>>
>>

>
>


  Réponse avec citation
Vieux 04/10/2007, 17h58   #17
Neil
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Configuration - RAM

Hi, Ekrem! Thanks for your input. I think, though, that you may have
misunderstood my last post. The person I was replying to had written, "you
probably need to upgrade your OS/SQL." I replied with our new configuration,
and asked, "You're saying that's not sufficient?" I was referring to the
versions of OS and SQL Server, since he had said that we should upgrade.

Regarding the memory issue, I do appreciate and understand your input. And
what you say is true. However, what I was wondering is if people here would
say, "2 GB running SQL with Server 2003?? No friggin' way that will work!!"
But they didn't. Most have said it's probably OK, but more memory couldn't
hurt. So that's the input I was looking for.

Anyway, thanks again for your input. It's been very ful!

Neil

"Ekrem Önsoy" <ekrem@btegiim.com> wrote in message
news:5C697D0D-5434-4154-8197-E4B3B0985FB2@microsoft.om...
> Hi Neil,
>
>
> I think you are over-excited about this migration. I know, you are trying
> to learn more about things and make yourself confident about this stuff.
> But the info we can share here with you is very general. SQL Server does
> not have a general configuration. It always depends.
>
> I and most of my friends here maybe can say that 500MB DB is a small
> database. But nobody knows what's going on in your environment. Your
> queries may have been written very badly and consume too much memory or
> processor resources. Then it would be lie to say "2GB of RAM is enough for
> a 500MB DB". Or your queries may be written very well, but there could be
> too many complex transactions which consume too much resources.
>
> So, you need to analyse your system yourself. Determine your needs and
> configure your new environment according to your needs. I don't believe
> that there is someone here who can definitely say "Window Server 2003 and
> SQL Server 2005 and 2GB of RAM is going to be OK and you will not have any
> problem with your new environment".
>
> It's you who is going to find your questions' answers.
>
> If you have anything that lingers in your mind, do not hasitate asking.
> However, it's not possible to analyse your system by this way.
>
>
> --
> Ekrem Önsoy
>
>
>
>
> "Neil" <nospam@nospam.net> wrote in message
> news:0zSMi.54850$Um6.35492@newssvr12.news.prodigy. net...
>> Right, forgot to mention the size of the DB (but did mention the general
>> number of records in another post here). The db is about half a gig in
>> size. So not very big at all.
>>
>> Re. upgrade OS/SQL, my original post stated: "We are migrating to a new
>> server, running Server 2003 SP2, and SQL Server
>> 2005." That is what we are upgrading to. You're saying that's not
>> sufficient?
>>
>> Thanks!
>>
>> Neil
>>
>>
>> "Greg D. Moore (Strider)" <mooregr_deleteth1s@greenms.com> wrote in
>> message news:13g6uqbd3mtkefe@corp.supernews.com...
>>> "Neil" <nospam@nospam.net> wrote in message
>>> news:8OFMi.1576$oA2.30@nlpi068.nbdc.sbc.com...
>>>> Well, we certainly don't have anywhere near 14 million transactions a
>>>> day (most of the activity is reads, and, even that is not a huge
>>>> amount). But with only 2 GB RAM, what would be left for SQL, 1 GB? That
>>>> doesn't seem like a lot.
>>>
>>> Again, depends a lot on your DB and its needs. If the DB is 10 GB in
>>> size but 90% of all queries involve 250MB of data (which is not
>>> uncommon) then you'll be fine.
>>>
>>> So it's really hard to say. From a previous post of yours, I'd say it
>>> sounds like it should be fine. But memory is fairly cheap, toss in
>>> another 2GB if you're concerned (above that you probably need to upgrade
>>> your OS/SQL versions, which is not so cheap.)
>>>
>>>
>>> --
>>> Greg Moore
>>> SQL Server DBA Consulting Remote and Onsite available!
>>> Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
>>>
>>>

>>
>>

>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,32535 seconds with 25 queries