<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Find the Size of Database File &#8211; Find the Size of Log File</title>
	<atom:link href="http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 10 Feb 2012 04:35:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Tsawm</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-218310</link>
		<dc:creator><![CDATA[Tsawm]]></dc:creator>
		<pubDate>Thu, 15 Dec 2011 07:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-218310</guid>
		<description><![CDATA[Thank you very much]]></description>
		<content:encoded><![CDATA[<p>Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-182957</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 16:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-182957</guid>
		<description><![CDATA[Also make sure to know about implicit convertions
http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx]]></description>
		<content:encoded><![CDATA[<p>Also make sure to know about implicit convertions<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-181317</link>
		<dc:creator><![CDATA[Troy]]></dc:creator>
		<pubDate>Thu, 20 Oct 2011 22:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-181317</guid>
		<description><![CDATA[And if you alter it just a little bit, you can have them summed by database:

SELECT DB_NAME(database_id) AS DatabaseName,
	SUM((size*8)/1024) SizeMB
FROM sys.master_files
group by DB_NAME(database_id)
order by DB_NAME(database_id)]]></description>
		<content:encoded><![CDATA[<p>And if you alter it just a little bit, you can have them summed by database:</p>
<p>SELECT DB_NAME(database_id) AS DatabaseName,<br />
	SUM((size*8)/1024) SizeMB<br />
FROM sys.master_files<br />
group by DB_NAME(database_id)<br />
order by DB_NAME(database_id)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erika</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-163676</link>
		<dc:creator><![CDATA[Erika]]></dc:creator>
		<pubDate>Tue, 30 Aug 2011 17:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-163676</guid>
		<description><![CDATA[Thanks for your help and for taking the time to help others, Greetings from Merida, Yucatan, Mexico, Erika Gamboa]]></description>
		<content:encoded><![CDATA[<p>Thanks for your help and for taking the time to help others, Greetings from Merida, Yucatan, Mexico, Erika Gamboa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: basava</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-134557</link>
		<dc:creator><![CDATA[basava]]></dc:creator>
		<pubDate>Mon, 16 May 2011 06:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-134557</guid>
		<description><![CDATA[hi can you please help me for configuring mirroring through script.]]></description>
		<content:encoded><![CDATA[<p>hi can you please help me for configuring mirroring through script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-125916</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 01 Apr 2011 06:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-125916</guid>
		<description><![CDATA[Also read this post
http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx]]></description>
		<content:encoded><![CDATA[<p>Also read this post<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2008/01/16/beware-of-implicit-conversions.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brass</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-125080</link>
		<dc:creator><![CDATA[Brass]]></dc:creator>
		<pubDate>Sat, 26 Mar 2011 05:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-125080</guid>
		<description><![CDATA[It&#039;s not clear in my earlier comment, but the period at the end of my sentence is supposed to be a decimal point.  Let me try again: &quot;(size*8)/1024.0&quot;.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s not clear in my earlier comment, but the period at the end of my sentence is supposed to be a decimal point.  Let me try again: &#8220;(size*8)/1024.0&#8243;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brass</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-125079</link>
		<dc:creator><![CDATA[Brass]]></dc:creator>
		<pubDate>Sat, 26 Mar 2011 05:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-125079</guid>
		<description><![CDATA[You have some integer math up there.  It should be:  (size*8)/1024.]]></description>
		<content:encoded><![CDATA[<p>You have some integer math up there.  It should be:  (size*8)/1024.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shoaib</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-115560</link>
		<dc:creator><![CDATA[Shoaib]]></dc:creator>
		<pubDate>Tue, 01 Feb 2011 17:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-115560</guid>
		<description><![CDATA[Hi Shiyam,

You are right that you can Right Click and know the file size,
but think of if you have 76 Databases on the instance and you want to send a report to your manager then would you click on each of the databases and copy /paste one by one? Obviously NOT,, then the the benefit of the script comes to play... just run the script  and in few sec you have report for every database even for 347 databases on one instance.. 
thanks Pinal,,, lots of SQL Server experts and instructors (even officially from Microsoft) suggest to go to MS website or their blogs, but my first choice is yours because I find answer which is very too the point and some time exact what I want. Great work.

Shoaib
from Canada]]></description>
		<content:encoded><![CDATA[<p>Hi Shiyam,</p>
<p>You are right that you can Right Click and know the file size,<br />
but think of if you have 76 Databases on the instance and you want to send a report to your manager then would you click on each of the databases and copy /paste one by one? Obviously NOT,, then the the benefit of the script comes to play&#8230; just run the script  and in few sec you have report for every database even for 347 databases on one instance..<br />
thanks Pinal,,, lots of SQL Server experts and instructors (even officially from Microsoft) suggest to go to MS website or their blogs, but my first choice is yours because I find answer which is very too the point and some time exact what I want. Great work.</p>
<p>Shoaib<br />
from Canada</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiyam</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-108811</link>
		<dc:creator><![CDATA[shiyam]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 06:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-108811</guid>
		<description><![CDATA[Hi,

This gives the initial size not the current size of the log file.
If you are looking for the initial size, isnt it better to right click, properties, select &quot;file&quot; and look for the initial size in the gui?

What is the difference in using the Script?

- Shiyam]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This gives the initial size not the current size of the log file.<br />
If you are looking for the initial size, isnt it better to right click, properties, select &#8220;file&#8221; and look for the initial size in the gui?</p>
<p>What is the difference in using the Script?</p>
<p>- Shiyam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ratna Kumar</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-83109</link>
		<dc:creator><![CDATA[Ratna Kumar]]></dc:creator>
		<pubDate>Thu, 05 Aug 2010 09:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-83109</guid>
		<description><![CDATA[Hi,

What is the recommended database file size in MS SQL 2005? as of now, one of my production database having one data file and size is 70 GB. And it is set to auto grow.

will it cause any performance issue if it continiously grow? is there any recommended size we can restrict and create secondary file once it is reached that size?

Can you give some tips to usage on data file size in MS SQL 2005 database? Thanks in advance!

regards,
Ratna Kumar.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>What is the recommended database file size in MS SQL 2005? as of now, one of my production database having one data file and size is 70 GB. And it is set to auto grow.</p>
<p>will it cause any performance issue if it continiously grow? is there any recommended size we can restrict and create secondary file once it is reached that size?</p>
<p>Can you give some tips to usage on data file size in MS SQL 2005 database? Thanks in advance!</p>
<p>regards,<br />
Ratna Kumar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishna</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-74193</link>
		<dc:creator><![CDATA[krishna]]></dc:creator>
		<pubDate>Tue, 01 Jun 2010 17:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-74193</guid>
		<description><![CDATA[Hi Pinal,

Can you please provide me the script to find the free space  of all the databases in sql server 2005?

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Can you please provide me the script to find the free space  of all the databases in sql server 2005?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeyakumar</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-65960</link>
		<dc:creator><![CDATA[Jeyakumar]]></dc:creator>
		<pubDate>Wed, 21 Apr 2010 15:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-65960</guid>
		<description><![CDATA[Yes fly,

sp_helpdb ‘AdventureWorks’ does the same job]]></description>
		<content:encoded><![CDATA[<p>Yes fly,</p>
<p>sp_helpdb ‘AdventureWorks’ does the same job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WillC</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-65327</link>
		<dc:creator><![CDATA[WillC]]></dc:creator>
		<pubDate>Fri, 16 Apr 2010 15:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-65327</guid>
		<description><![CDATA[Pinal - as usual you deliver precisely what I look for, thanks!]]></description>
		<content:encoded><![CDATA[<p>Pinal &#8211; as usual you deliver precisely what I look for, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jignesh</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-65232</link>
		<dc:creator><![CDATA[Jignesh]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 07:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-65232</guid>
		<description><![CDATA[One Suggestion , you can get a Db,Table, Size calculator utility from your trainees.

The user needs to give input of the no. of types of columns and they get the estimated size result....

It will be a very good utility for many people ...]]></description>
		<content:encoded><![CDATA[<p>One Suggestion , you can get a Db,Table, Size calculator utility from your trainees.</p>
<p>The user needs to give input of the no. of types of columns and they get the estimated size result&#8230;.</p>
<p>It will be a very good utility for many people &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Normant</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-61491</link>
		<dc:creator><![CDATA[Normant]]></dc:creator>
		<pubDate>Fri, 19 Feb 2010 14:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-61491</guid>
		<description><![CDATA[Thanks for the script, any way to add the last backup of DB and log files to it?]]></description>
		<content:encoded><![CDATA[<p>Thanks for the script, any way to add the last backup of DB and log files to it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-61133</link>
		<dc:creator><![CDATA[Vivek]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 23:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-61133</guid>
		<description><![CDATA[Hi Pinal,

What about sp_databases. Is it not the same?

Thanks
Vivek]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>What about sp_databases. Is it not the same?</p>
<p>Thanks<br />
Vivek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60966</link>
		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 20:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60966</guid>
		<description><![CDATA[Just realized. The above statement returns only allocated space of each file. But DBCC SHOWFILESTATS returns total the used extents.]]></description>
		<content:encoded><![CDATA[<p>Just realized. The above statement returns only allocated space of each file. But DBCC SHOWFILESTATS returns total the used extents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60965</link>
		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 20:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60965</guid>
		<description><![CDATA[Thank you. This saves lot of my time. So far we are using DBCC SHOWFILESTATS.]]></description>
		<content:encoded><![CDATA[<p>Thank you. This saves lot of my time. So far we are using DBCC SHOWFILESTATS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60853</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60853</guid>
		<description><![CDATA[Hello Yusuf,

You are right, there is no better way to get log size of all databases. There are few other methos to know the size and free space in database files but there is no simple alternate for the output of sqlperf (‘logspace’).

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Yusuf,</p>
<p>You are right, there is no better way to get log size of all databases. There are few other methos to know the size and free space in database files but there is no simple alternate for the output of sqlperf (‘logspace’).</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60844</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 14:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60844</guid>
		<description><![CDATA[Thanks for the script.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fly</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60834</link>
		<dc:creator><![CDATA[fly]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 09:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60834</guid>
		<description><![CDATA[Hi, Pinal
Seems sp_helpdb &#039;AdventureWorks&#039; does the same job]]></description>
		<content:encoded><![CDATA[<p>Hi, Pinal<br />
Seems sp_helpdb &#8216;AdventureWorks&#8217; does the same job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yusuf</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60826</link>
		<dc:creator><![CDATA[Yusuf]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 04:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60826</guid>
		<description><![CDATA[Though sys.master_files has tons more info but I still like dbcc sqlperf (&#039;logspace&#039;) if its only about getting the free log space.]]></description>
		<content:encoded><![CDATA[<p>Though sys.master_files has tons more info but I still like dbcc sqlperf (&#8216;logspace&#8217;) if its only about getting the free log space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitin Sharma</title>
		<link>http://blog.sqlauthority.com/2010/02/08/sql-server-find-the-size-of-database-file-find-the-size-of-log-file/#comment-60825</link>
		<dc:creator><![CDATA[Nitin Sharma]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 04:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7954#comment-60825</guid>
		<description><![CDATA[Wonderful article Pinal.]]></description>
		<content:encoded><![CDATA[<p>Wonderful article Pinal.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

