TSQL to get a quick information on detailed distribution of memory allocated

Published 10 January 08 02:04 PM | SQL Master 

By design the components that are aware of the SQL Server memory management mechanisms use the buffer pool for small memory allocations. If the allocation is bigger than 8 KB, these components use memory outside of the buffer pool through the multi-page allocator interface.

select 
    type, sum(multi_pages_kb) 
from 
    sys.dm_os_memory_clerks 
where 
    multi_pages_kb != 0 
group by type

More detailed information about memory allocation by the server components can be assessed by using the sys.dm_os_memory_clerks DMV.

Comments

# Other SQL Server Blogs around the Web said on January 10, 2008 2:40 PM:

By design the components that are aware of the SQL Server memory management mechanisms use the buffer

# SSQA.net - SqlServer-QA.net said on January 10, 2008 3:07 PM:

By design the components that are aware of the SQL Server memory management mechanisms use the buffer

Anonymous comments are disabled

About SQL Master

**__________________________________** SQL Server MVP, Sr. DBA & industry expert. - Knowledge is of two kinds. We know a subject ourselves or we know where we can find information on it. It is also a power and you will gain by sharing it.