Search This Blog

Showing posts with label Finding Databases which had Transaction Log Growth. Show all posts
Showing posts with label Finding Databases which had Transaction Log Growth. Show all posts

Finding Databases which had Transaction Log Growth


SELECT INSTANCE_NAME,cntr_value FROM MASTER.dbo.sysperfinfo
WHERE COUNTER_NAME = 'Log Growths'
AND INSTANCE_NAME NOT IN ('_Total','mssqlsystemresource')
AND CNTR_VALUE <> 0
Note: This list will not count if you grow the log file manually.