Get any memory dumps from SQL Server

Get information on the location, time, and size of any memory dumps from SQL Server

SELECT [filename]
	,creation_time
	,size_in_bytes / 1048576.0 AS [Size (MB)]
FROM sys.dm_server_memory_dumps WITH (NOLOCK)
ORDER BY creation_time DESC
OPTION (RECOMPILE);

dm_server_memory_dumps

Spread the love