Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

An easy way to track the growth of your database

By Sylvia Moestl Vasilik,

Frequently you'll want to know how fast your database has been growing. Ideally, you'll have historical size information on all the databases that you work on. In the real world, however, this is not necessarily the case.

What we have most often is the backup history. Luckily, we can get a rough outline of the growth of your database, over time, from the msdb..backupset table. This query will give the size of the backup, every time that a backup was done. From this you can get a pretty good idea of how fast your database is growing.

Total article views: 14243 | Views in the last 30 days: 6
 
Related Articles
FORUM

database backup

database backup

FORUM

backup database

backup database

FORUM

Database backup

Database backup

FORUM

Database Backup

Database Backup

FORUM

Proper way to backup databases

backup databases

Tags
 
Contribute