Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Track all DB Growth for the Server
Track all DB Growth for the Server
Rate Topic
Display Mode
Topic Options
Author
Message
poratips
poratips
Posted Wednesday, February 06, 2013 3:34 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 2:56 PM
Points: 126,
Visits: 470
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
bitbucket-25253
bitbucket-25253
Posted Wednesday, February 06, 2013 7:13 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 1:09 PM
Points: 5,123,
Visits: 20,369
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
poratips
poratips
Posted Thursday, February 07, 2013 8:53 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 2:56 PM
Points: 126,
Visits: 470
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
homebrew01
homebrew01
Posted Thursday, February 07, 2013 2:27 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 12:02 PM
Points: 2,581,
Visits: 7,295
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
jeetsingh.cs
jeetsingh.cs
Posted Friday, February 08, 2013 6:08 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Today @ 12:38 AM
Points: 192,
Visits: 407
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 »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.