Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Track all DB Growth for the Server Expand / Collapse
Author
Message
Posted Wednesday, February 6, 2013 3:34 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 21, 2014 3:28 PM
Points: 182, Visits: 650
Hi,
I would like to store the database growth (Data file size + Index Siie) into a table and send an email?
Could you please guide me how can i handle this for my all database?
I would like to create table like:

Server name, Database, IndexSize, DatafileSize, Total Size, CollectionTime.

I am planning to create DBTrack DB and i will create Table with above columns but need to know how can i handle whole proces

Thanks,
Post #1416756
Posted Wednesday, February 6, 2013 7:13 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 4:50 PM
Points: 5,574, Visits: 24,823
I use this to track when my system starts up ... might give you an idea on a method of doing what you desire to do.

http://www.sqlservercentral.com/blogs/briankmcdonald/2010/10/16/when-was-sql-server-restarted_3F00_/


If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #1416786
Posted Thursday, February 7, 2013 8:53 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 21, 2014 3:28 PM
Points: 182, Visits: 650
Thanks.
Actually i am looking for Database Growth so i can verify that how the growth is going everyday or weekly basis by captuiring timestamp and Datafile, Index size.

Thanks.
Post #1417133
Posted Thursday, February 7, 2013 2:27 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Saturday, July 26, 2014 8:10 PM
Points: 2,826, Visits: 8,463
I used to track it by using the backup history, which includes the database size. Since I took daily backups, and did not delete full backup history, it was good enough for my purposes and did not require any extra development or jobs to implement. Just run some queries against the existing system tables.

I think there are a number of articles & posts on the topic that might give you the type of solution you want.



Post #1417357
Posted Friday, February 8, 2013 6:08 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Today @ 12:55 AM
Points: 251, Visits: 583
You can use
sysfiles to come up with a procedure
where you can get notification for your database growth.
Post #1417654
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse