A simple way is to have a log table, updated nightly. Just create a table and a stored proc as below and have a job that runs it every night.

You can set a database auto-growth setting by using SQL Server Management Studio, scripted SMO, or by using T-SQL when you create your database. You can also use these methods to change the auto-growth settings of existing databases. Let me show you how to check the auto-grow database size using SQL Server Management Studio.

The example here runs the size query twice for two different databases on the same server. You can then have a simple report off the back of this showing the growth trends over time and on a weekly basis for the largest and the fastest-growing tables.



The article was published on February 18, 2017 @ 3:55 AM

Leave a Comment