Are your SQL Server generating dump files?

Category: Reliability
Item: SQL Server memory dumps

What are the SQL Server dump files?

They are memory dumps files generated when SQL hits a bug, or something “unexpected” happens.

The size and contents of which are dependent on the problem that occurred.

Note: Memory dump files may contain sensitive information.

Should you care about SQL Server dumps?

It’s equivalent to Windows bluescreening, so it isn’t typical behavior of SQL Server.

These files may be consuming a Lot of Disk Space too.

How can I find the dump files?

You can use the query below to list all  SQL Server dump files.

SELECT *
FROM sys.dm_server_memory_dumps
ORDER BY creation_time DESC
Figure 1 -SQL Server Dump files.

How can I fix the issue?

  1. Patch your SQL Server, upgrade to the latest SP & CU.
  2. If the memory dumps continue and you are familiar with a debugger, you can try to understand the issue troubleshooting the files.
  3. If you’re not comfortable, open a support case with Microsoft. 

More information

Microsoft – Get Full Memory Dump.
Microsoft – sys.dm_server_memory_dumps.

Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

Leave a Comment

Your email address will not be published. Required fields are marked *

4.8/5

42

TESTIMONIALS

FREE Scripts to Instantly
Improve SQL Server Performance

3 FREE Scripts to Instantly
Improve SQL Server Performance

Learn how to increase Performance of SQL Server INSTANTLY with 3 free scripts.