SQLRx® Tip of the Month
 
January 2016
______________________________________________________________________________
SQL 2008

SQL Server Administration: Using sys.dm_server_memory_dumps to find SQL memory dumps.

When SQL experiences a serious issue, it will often dump the contents of its memory to disk. This is known as a memory dump, and it does generate files that are usually located in the Logs folder. I often find that many SQL DBA's are unaware that SQL may be experiencing issues until they start seeing some scary looking messages in their error logs. It is possible for SQL to have a serious issue but not bad enough to cause it to shut down. I have also found that the memory dump files can be quite large, and may need to be cleaned up periodically. If you query the dynamic management view sys.dm_server_memory_dumps, you will get a list of memory dumps along with the location of the files.
SELECT [filename], creation_time, size_in_bytes
FROM sys.dm_server_memory_dumps

If you find that SQL is producing memory dumps, you should be alarmed and may need to send the files off to Microsoft for evaluation. You can find more on the sys.dm_server_memory_dumps on MSDN at: https://msdn.microsoft.com/en-us/library/hh204543.aspx.
___________________________________________________________________________
SQLRx has worked hard to minimize the impact of monitoring SQL Servers to the point that we are able to monitor high transaction systems with little impact (1% load) on the target system. Contact us today to help you monitor your SQL servers!
Be sure to check out our blog for more SQL Server information.

If you have a SQL question you'd like us to answer, and possibly use for the next SQLRx Tip of the Month, email it to us!  If you missed any of our previous tips, you can view them here.

For assistance or more information on optimizing your SQL Server Environment, visit us at www.sqlrx.com or email Chima Egwuagu at chimae@isi85.com.


 

Phone: 214.526.7680 x 111

Toll free:  800.85.SQLRx  (x111)

blog.sqlrx.com

@SQLRx

Facebook
 


 

Integrated Services, Inc.                                    
2008 winner logo small
Turning Data Into Profit


 

30 Years of Credibility & Trust


 

Join our email list          Check out our events