Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server 2008 memory bottlenecks

I am interested in query that I can run against SQL Server 2008 that would tell the memory usage of the current processes (and users running them) executing. Any help would be appreciated. Thank you.

like image 785
Dan Avatar asked Dec 31 '25 22:12

Dan


1 Answers

tell the memory usage of the current processes

This is too generic and cannot be answered. Almost all the memory in SQL is shared between 'processes' (queries) and cannot be attributed to an individual one. The only significant memory consumption that can be clearly attributed to a query is the memory grant and that is exposed in sys.dm_exec_query_memory_grants. I recommend you read also about Buffer Management.

like image 90
Remus Rusanu Avatar answered Jan 02 '26 14:01

Remus Rusanu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!