473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Server Properties

Help;
Im New with a company and the sql server is
maxing out the cpu's
We have 3 web servers load balanced....
large volume of data

the current Properties
Computer:
4 amd 2.88 processors
4 g Mememory

Recomendations of good sql setup
memory, cpu etc

Thank you
mike
Dec 7 '06 #1
6 1751
mike (ve***********@yahoo.com) writes:
Im New with a company and the sql server is
maxing out the cpu's
We have 3 web servers load balanced....
large volume of data

the current Properties
Computer:
4 amd 2.88 processors
4 g Mememory

Recomendations of good sql setup
memory, cpu etc
While you can achieve some performance benefits by tuing the hardware
and its configuration, the major impact is usually in looking at queries
and how they are submitted.

For instance, a web app that submits all queries as fixed string with
input parameters interpolated, will take a far bigger toll on the server
in compilation and cache-lookup time than an app that uses parameterised
queries. Even more decisive is of course whether quereis are supported
by suitable indexes. And finally, good defragmentation rouines are really
helpful.

--
Erland Sommarskog, SQL Server MVP, es****@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
Dec 7 '06 #2
I know i must work on queries and other things
was just wondering what a good configuration is
at the server level.....

thanks for the information
mike

"Erland Sommarskog" <es****@sommarskog.sewrote in message
news:Xn**********************@127.0.0.1...
mike (ve***********@yahoo.com) writes:
>Im New with a company and the sql server is
maxing out the cpu's
We have 3 web servers load balanced....
large volume of data

the current Properties
Computer:
4 amd 2.88 processors
4 g Mememory

Recomendations of good sql setup
memory, cpu etc

While you can achieve some performance benefits by tuing the hardware
and its configuration, the major impact is usually in looking at queries
and how they are submitted.

For instance, a web app that submits all queries as fixed string with
input parameters interpolated, will take a far bigger toll on the server
in compilation and cache-lookup time than an app that uses parameterised
queries. Even more decisive is of course whether quereis are supported
by suitable indexes. And finally, good defragmentation rouines are really
helpful.

--
Erland Sommarskog, SQL Server MVP, es****@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

Dec 7 '06 #3
mike wrote:
I know i must work on queries and other things
Do you know that it should be your first priority? Non-optimized
queries often make a big difference.
was just wondering what a good configuration is
at the server level.....
Second priority is RAM. More RAM = more cached data = less frequent
disk access. (Disk access is a lot slower than RAM access.) Using
more than 4 GB requires a bit of non-trivial configuration.

Third priority is disk speed. Ideally, you want to keep data, logs,
temp database, and operating system on separate physical drives, or
at least separate logical ones. (Parallelism, scan patterns, and
fragmentation.) Higher RPM = faster disk access.

CPU should be adequate, but a typical SQL server is doing simple
operations on large volumes of data, thus bottlenecks somewhere else
(RAM cache, disk speed, network bandwidth) before it gets anywhere
close to bottlenecking on CPU. A bottleneck on CPU may indicate a
complex query in need of simplification (e.g. inefficient joins,
cursors that could be replaced with joins, sorting that could be
more effectively delegated to the client).

Network should be stable, and bandwidth should be adequate, but a
bottleneck on bandwidth may indicate a need for more filtering on the
data prior to transmitting it to the client.
Dec 8 '06 #4
The most critical part of the server is the I/O (the hard disks).
However, if your CPUs are maxed out, then it might be useful to find
out if this is a general load issue or if there is a culprit (sp_who is
your friend!).

This being said, if you need a quick improvement and you don't have a
lot of time or skills to troubleshoot queries, here is what you could
do:

1) Open the Activity Monitor in the Management Studio (SQL 2005)

2) Find the Process ID that are using the most resources (CPU, Physical
I/O)

3) Right-click on the line of one of those Process ID and click on
Details. This should provide you with a query. Do this for a while in
order to collect a few queries that seem to occur often and pull a lot
of resources.

4) Open a New Query window in the Management studio and paste one of
the frequent queries.

5) Right-click in the query window and click on "Analyze query in
Database Engine Tuning Advisor"

6) Create the stats and indexes as suggested by the wizard (you can
even copy & paste the T-SQL from the wizard to create thoses indexes)

7) Repeat steps 4 to 6 for every queries you collected at step 3.

This is not a perfect solution, but it could lead to a serious
performance improvement while you get your feet wet with the queries
themselves.

Regards,
lucm

mike wrote:
I know i must work on queries and other things
was just wondering what a good configuration is
at the server level.....

thanks for the information
mike

"Erland Sommarskog" <es****@sommarskog.sewrote in message
news:Xn**********************@127.0.0.1...
mike (ve***********@yahoo.com) writes:
Im New with a company and the sql server is
maxing out the cpu's
We have 3 web servers load balanced....
large volume of data

the current Properties
Computer:
4 amd 2.88 processors
4 g Mememory

Recomendations of good sql setup
memory, cpu etc
While you can achieve some performance benefits by tuing the hardware
and its configuration, the major impact is usually in looking at queries
and how they are submitted.

For instance, a web app that submits all queries as fixed string with
input parameters interpolated, will take a far bigger toll on the server
in compilation and cache-lookup time than an app that uses parameterised
queries. Even more decisive is of course whether quereis are supported
by suitable indexes. And finally, good defragmentation rouines are really
helpful.

--
Erland Sommarskog, SQL Server MVP, es****@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
Dec 8 '06 #5
Thank you Very Much Ed
Mike

"Ed Murphy" <em*******@socal.rr.comwrote in message
news:XE******************@tornado.socal.rr.com...
mike wrote:
>I know i must work on queries and other things

Do you know that it should be your first priority? Non-optimized
queries often make a big difference.
>was just wondering what a good configuration is
at the server level.....

Second priority is RAM. More RAM = more cached data = less frequent
disk access. (Disk access is a lot slower than RAM access.) Using
more than 4 GB requires a bit of non-trivial configuration.

Third priority is disk speed. Ideally, you want to keep data, logs,
temp database, and operating system on separate physical drives, or
at least separate logical ones. (Parallelism, scan patterns, and
fragmentation.) Higher RPM = faster disk access.

CPU should be adequate, but a typical SQL server is doing simple
operations on large volumes of data, thus bottlenecks somewhere else
(RAM cache, disk speed, network bandwidth) before it gets anywhere
close to bottlenecking on CPU. A bottleneck on CPU may indicate a
complex query in need of simplification (e.g. inefficient joins,
cursors that could be replaced with joins, sorting that could be
more effectively delegated to the client).

Network should be stable, and bandwidth should be adequate, but a
bottleneck on bandwidth may indicate a need for more filtering on the
data prior to transmitting it to the client.

Dec 8 '06 #6
very good information......
very much appriciated Ed and Lucm

Thanks again
Mike

"mike" <ve***********@yahoo.comwrote in message
news:uV*****************@newssvr12.news.prodigy.ne t...
Help;
Im New with a company and the sql server is
maxing out the cpu's
We have 3 web servers load balanced....
large volume of data

the current Properties
Computer:
4 amd 2.88 processors
4 g Mememory

Recomendations of good sql setup
memory, cpu etc

Thank you
mike

Dec 8 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: T.S.Negi | last post by:
To support remote transaction on SQL Server i have configured user options to 16384. However if i make changes in other properties of SQL Server, user option setting reverts to its original value....
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
2
by: Kevin R | last post by:
I'm trying to get asp.net 1.1 running on my home PC. When I try creating a new ASP.NET Web Application in 'Visual Studio .NET 2003' I get the following error: "Visual Studio .NET has detected...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
3
by: Olie | last post by:
I have a number of applications that need to access the same object at different times and any one of these programs may be running at any one time. I do not have a specific application that could...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
4
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.