Sqlserver-dba.com

Subscribe

Subscribe to RSS feed  Follow @jackvamvas - Twitter

Enjoy this post? Enter your email address for updates on new posts:

Delivered by FeedBurner

Email +Jack Vamvas at jack@sqlserver-dba.com

SQLServer-DBA.com Links

Subscribe to newsletter

Dba_db2_button

Powered by TypePad
SQL Server – Memory: Pages sec, memory pressure and thrashing

16 July,2012 by Jack Vamvas

Question: A server hosting a SQL Server is experiencing higher than normal levels of the Performance counter: Memory:pages/sec than normal?  Does this mean memory pressure is occurring?

 Answer:  Yes and No . The Memory:Pages\sec counter is a good indicator of memory pressure and subsequent paging.  However, the Memory:pages\sec counter includes other activity, such as reading memory mapped files (MMF)

For memory pressure read : SQL Server Performance ,memory pressure and memory usage

1) Definition of Memory: Pages/sec “The Memory:Pages/sec counter reports the number of pages that are retrieved from disk needing to resolve memory references to pages that weren’t in memory at the time of reference”

2)  Pages/sec  = Pages Input/sec +  Pages Output/sec.

3) The counter includes sequential reading of MMF. MMFs assist applications to access files on disk the same way they access active  memory. The application maps its virtual address space directly to disk (file).  High Number of  Memory:Available Bytes & normal Paging File: % Usage is a good indicator for this activity.

4) The Memory:pages\sec counter on its own gives a partial picture. When creating a baseline or troubleshooting , I prefer to use a wider range of counters. If the problem is SQL Server related , aim to isolate the SQL Server activity'

Use Performance Monitor Counters for SQL Server performance testing

Read More

SQL Server Performance ,memory pressure and memory usage ...

SQL Server – Measuring SQL memory usage - SQL Server DBA

SQL Server – Memory leak detection - SQL Server DBA


Author: Jack Vamvas (http://www.sqlserver-dba.com)

Enjoy this post? Enter your email address for updates on new posts:

Delivered by FeedBurner

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer