April 29, 2016 at 8:11 am
Hi All,
I wanted to see what all components are stealing memory from Buffer Pool as I can clearly see the Stolen Pages count very high.
In SQL 2012, Is there a DMV through which we can tell how is stealing memory ?
The below dmv works well in sql 2008 but in SQL 2012, multi_pages_kb column is missing.
select top 10 type, multi_pages_kb
from sys.dm_os_memory_clerks
order by multi_pages_kb desc
Thanks in advance.
-Sam
April 30, 2016 at 12:23 pm
This might help: https://www.simple-talk.com/blogs/2009/08/03/stolen-pages-ad-hoc-queries-and-the-sins-of-dynamic-sql-in-the-application/
Stolen pages being high (whatever that is for your system) is a sign of memory pressure. Lots of ad hoc queries, things that require SQL Server to use the memory instead of the buffer pool.
You might also diagnose here: http://blogs.msmvps.com/bradley/2009/01/15/how-to-troubleshoot-sql-memory-issues-part-ii/
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy