﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Sylvia Moestl Vasilik  / An easy way to track the growth of your database / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 10:35:22 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>In the interim you could:select BackupDate = convert(varchar(10),backup_start_date, 111), SizeInGigs=CAST(round(backup_size/1073741824,4) AS decimal(18,4)),backup_size AS [Raw backup_size],CASE TYPEWHEN 'D' THEN 'Full'WHEN 'F' THEN 'Filegroup'WHEN 'I' THEN 'Differential'WHEN 'L' THEN 'Log'ELSE 'Unknown'END AS Typefrom msdb..backupset where database_name = 'ROOMBOOKING' --and type = 'D'order by backup_start_date DESC</description><pubDate>Fri, 20 May 2011 07:07:32 GMT</pubDate><dc:creator>Michael.Beeby</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>How could we modify the code to include the growth of the log file?</description><pubDate>Mon, 14 Sep 2009 11:45:12 GMT</pubDate><dc:creator>bpowers</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>nice script...i just added it to my DBA dashboard :-D...i already had another but this is better</description><pubDate>Fri, 21 Aug 2009 14:49:11 GMT</pubDate><dc:creator>Yogesh Ranade</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>Can the same thing be accomplished in Microsoft Access?</description><pubDate>Mon, 08 Jun 2009 07:38:53 GMT</pubDate><dc:creator>rsloan</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>""""[i]what about the databases which are backed up with compression method like litespeed, let say today backup is taken with native method and tommorrow backup is taken with litespeed, how do we know[/i] """"If you use percentage growth - over the time periods not compressed and compressed periods it should be more or less the same</description><pubDate>Tue, 21 Apr 2009 22:32:09 GMT</pubDate><dc:creator>kbotha80</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>Greate Script. Usually peopel would like to see percentage growth which is easily calulate using this script of yours. Providing the Db always gorwos in size thsi will work. - Script great Idee :cool:Select ((MAX(SizeInGigs) - MIN(SizeInGigs))/ MAX(SizeInGigs))*100 from (select  BackupDate = convert(varchar(10),backup_start_date, 111) ,SizeInGigs=floor(backup_size) from msdb..backupset where  database_name = 'CES' and type = 'd')TB</description><pubDate>Tue, 21 Apr 2009 22:29:58 GMT</pubDate><dc:creator>kbotha80</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>use the figure 1048576 instead of 1024000000 or 1073741824.KB = 1024MB = 1024^2GB = 1024^3 so on and so forth.</description><pubDate>Fri, 27 Mar 2009 11:40:15 GMT</pubDate><dc:creator>madyson3</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>How would I modify this script to show the results in MB instead of GB?</description><pubDate>Fri, 20 Feb 2009 13:15:18 GMT</pubDate><dc:creator>Jpotucek</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>what about the databases which are backed up with compression method like litespeed, let say today backup is taken with native method and tommorrow backup is taken with litespeed, how do we know whther databae size is increased or not.thanksJoseph</description><pubDate>Sun, 08 Feb 2009 11:07:42 GMT</pubDate><dc:creator>Joseph-465703</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>to apply this script to every database on the server try using this and modify the script as appropriate:http://www.sqlservercentral.com/scripts/Metadata/65453/</description><pubDate>Tue, 06 Jan 2009 23:16:19 GMT</pubDate><dc:creator>kodracon </dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>Good article. I just found that using the floor function gave the size as 1 right through because the db that I work on is 1.6 gb so I rather used the round function and it came up tops. Thanks for a good article.Below is an example of what I did.select BackupDate = convert(varchar(10),backup_start_date, 111), SizeInGigs=round(backup_size/1024000000,4) from msdb..backupset where database_name = 'OrisysSql' and type = 'd'order by backup_start_date desc</description><pubDate>Wed, 07 May 2008 07:39:01 GMT</pubDate><dc:creator>Manie Verster</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>Nice script, except to convert bytes to gigabytes you need to divide it by 1073741824 BytesSee [url]http://www.123marbella.net/en/free-bandwith-calculator.html[/url]</description><pubDate>Wed, 07 May 2008 05:42:23 GMT</pubDate><dc:creator>David Bird</dc:creator></item><item><title>RE: An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>hi,I've just implented the script and think the result output is awesome.However i was wondering if there was any way within the script that it would include all databases on the server instead of one at at time, and to have a history on the size since it was first created.  Also is there any way it could be executed as a job, if so what do you reckon the command will be, to run this in  SQL AGENT agentie something similar to exec sp_track_db_growth "northwind" s an example Like i said the script was and is fantabulous!!!!!!!!!!!!!!!.CIAOvivcolli:D</description><pubDate>Wed, 16 Apr 2008 04:47:41 GMT</pubDate><dc:creator>viv-488863</dc:creator></item><item><title>An easy way to track the growth of your database</title><link>http://www.sqlservercentral.com/Forums/Topic467818-1224-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Backup/62497/"&gt;An easy way to track the growth of your database&lt;/A&gt;[/B]</description><pubDate>Tue, 11 Mar 2008 16:57:42 GMT</pubDate><dc:creator>Sylvia Moestl Vasilik</dc:creator></item></channel></rss>