Solved

increase of memory in sql server 2000 fro 2 to 6GB measure memory usage

Posted on 2009-07-03
5
292 Views
Last Modified: 2012-05-07
HI,

I have increase the memory of my sql server 2000 SP3 from 2GB to 6GB due to high disk usage.

Can you explain why, even with my smaler memory i had a cache hit ratio of 100% but disk que lenth of more than 2000?

With adding more memory, the disk queu length has decreasedbut the % disk busy remains very high.

We have a IBM blade server with a disk attached to the EMC san
dababase size is:
1 of 69GB
1 of 69gb
1 of 19gb
1 of 8gb

How can i check if i have to much or to little memory?

/attached is a report of my memory and disk usage (The swap has been done on  02 july at 10 AM
20090703-4-.pdf
20090703-7-dbs05diskactivity.pdf
0
Comment
Question by:capsugel
  • 3
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 24771809
<<With adding more memory, the disk queu length has decreasedbut the % disk busy remains very high.>>

That is because the increase memory has allowed the server to run more queries and therefore request more data from the disk.  I'd say that your server works better because it actually processes more concurrent requests but this had a bad impact on IO contention.  I'd suggest revising your file/filegroup strategy to get rid of that contention.
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 24771819
Please indicate the size of the database on which queries are ran.
0
 

Author Comment

by:capsugel
ID: 24771831
Ok thanks just a few little questions to understand it better,

where exactly can i check the concurrent requests?

And why is it that the disk queue length is much less?

Why don't i see a difference to the cache hit ratio % (if it is above 90% doesn't it mean it runs totaly in the ram and not on disk?)

0
 

Author Comment

by:capsugel
ID: 24771893
It is a database of +- 96GB and 1 of +-69GB

Is it also normal that the SQL recompilations went up from +-100 pro minute to +-400 pro minute
0
 
LVL 23

Accepted Solution

by:
Racim BOUDJAKDJI earned 500 total points
ID: 24771985
<<where exactly can i check the concurrent requests?>>
Based on how the code is submitted, you can look at the number of transactions/sec

<<And why is it that the disk queue length is much less?>>
The disk queue length is less for the requests that are actually *processed* not all the one in line waiting to be processed.  The real bottleneck here is purely IO related.  Or at least it seems.

<<SQL recompilations went up from +-100 pro minute to +-400 pro minute>>
We can assume that since the number of executions increased the number of recompilation increased as well.  That confirms that the server *does* actually execute 4 times more queries but it's just that the IO does not cope anymore.

Clearly an IO problem.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now