?
Solved

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

Posted on 2009-07-03
5
Medium Priority
?
302 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.
Suggested Courses

764 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