Is there anyway I can track the size of my database growth over time for SQL Server 2008? Can I see this from a dashboard somewhere or do I have to script a query to perform this?
Thanks
Is there anyway I can track the size of my database growth over time for SQL Server 2008? Can I see this from a dashboard somewhere or do I have to script a query to perform this?
Thanks
I think the best way to track size growth on a database is to collect weekly or as frequent as you want their sizes and insert into a static table from another SQL instance, different than the one of the database monitored.
You can use the query below that returns the data and log file sizes in MegaBytes and inserts the data into another tempdb table. After one month or year you will be able to check the growth by analyzing the output from that table and even create a graph.
The information in the Dashboard is obtained by reading the Default Trace. You can read the default database as explained here