SQL Server: Script to find Memory usage and allocation

This is one of the important DBA script to find details of Memory allocation and usage of the SQL Server.

During the performance tuning, it is very important to find a current allocation and other statistics about the SQL Server Memory.

There are different ways to find Memory details of the SQL Server.
In this post, I am using DBCC MEMORYSTATUS and sys.dm_os_process_memory DMV.

Using DBCC:

Using sys.dm_os_process_memory:

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from dbrnd.com

Leave a Reply

Be the First to Comment!

Notify of