Solved

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

Posted on 2009-07-03
5
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

688 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