[Script Of Mar. 01] How to get the memory consumption of SQL Server database(s)

image

Mar.

1

image

image

Script Download:   
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-get-the-memory-a5b9b093. You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

This T-SQL script is used to get SQL Server buffer pool usage of a specified database or all the databases in an instance. 

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery