<?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/"
		>
<channel>
	<title>Comments on: A Busy/Accidental DBA&#8217;s Guide to Managing VLFs</title>
	<atom:link href="http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/</link>
	<description>Random thoughts, rants, discoveries and things I wish I had done better</description>
	<lastBuildDate>Tue, 17 Apr 2012 18:47:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: David Levy</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-8345</link>
		<dc:creator>David Levy</dc:creator>
		<pubDate>Tue, 13 Mar 2012 14:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-8345</guid>
		<description>I have never seen it break the log chain. Can you share more details like SQL version, steps you took before and after, recovery model, etc.?</description>
		<content:encoded><![CDATA[<p>I have never seen it break the log chain. Can you share more details like SQL version, steps you took before and after, recovery model, etc.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Plung</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-8341</link>
		<dc:creator>Dave Plung</dc:creator>
		<pubDate>Tue, 13 Mar 2012 11:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-8341</guid>
		<description>Just testet it out...it DOES affect the Backup Chain. So before you run this script take a Full Backup before and after you ran the script.</description>
		<content:encoded><![CDATA[<p>Just testet it out&#8230;it DOES affect the Backup Chain. So before you run this script take a Full Backup before and after you ran the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Plung</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-8336</link>
		<dc:creator>Dave Plung</dc:creator>
		<pubDate>Tue, 13 Mar 2012 07:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-8336</guid>
		<description>Does this script affect the Backup Chain ?</description>
		<content:encoded><![CDATA[<p>Does this script affect the Backup Chain ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DBA Darwin Awards: Log File Edition &#124; Brent Ozar PLF &#124; Brent Ozar PLF</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-7430</link>
		<dc:creator>DBA Darwin Awards: Log File Edition &#124; Brent Ozar PLF &#124; Brent Ozar PLF</dc:creator>
		<pubDate>Tue, 24 Jan 2012 12:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-7430</guid>
		<description>[...] A Busy/Accidental DBA&#8217;s Guide to Managing VLFs &#8211; Dave Levy explains the basics of Virtual Log Files, gives you a script to check how many you&#8217;ve got, and shows how to fix the problem. [...]</description>
		<content:encoded><![CDATA[<p>[...] A Busy/Accidental DBA&#8217;s Guide to Managing VLFs &#8211; Dave Levy explains the basics of Virtual Log Files, gives you a script to check how many you&#8217;ve got, and shows how to fix the problem. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali Razeghi</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-2608</link>
		<dc:creator>Ali Razeghi</dc:creator>
		<pubDate>Wed, 13 Apr 2011 04:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-2608</guid>
		<description>Yoo David, 
Nice post on VLFs to accidental DBAs!  I&#039;ve been thinking a lot about that and started my own blog on the subject but focusing on different parts.  I like the way you presented VLFs and will link to your blog when I&#039;m explaining why and how they need to maintain indexes.  Good stuff.</description>
		<content:encoded><![CDATA[<p>Yoo David,<br />
Nice post on VLFs to accidental DBAs!  I&#8217;ve been thinking a lot about that and started my own blog on the subject but focusing on different parts.  I like the way you presented VLFs and will link to your blog when I&#8217;m explaining why and how they need to maintain indexes.  Good stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Levy</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-760</link>
		<dc:creator>David Levy</dc:creator>
		<pubDate>Sat, 20 Nov 2010 03:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-760</guid>
		<description>Wow! That is a great catch. Nicely done!

I have never run into that because I cheat and use 1000MB as 1GB to make it easy to calculate max size in my head. I will have to remember that when I finally switch over to using GB.

The one thing I want to call out is that 10 GB seems sort of big for an autogrowth increment. I would keep an eye out for performance issues if the log has to grow. I hardly ever go over 1000MB for autogrowth of either type of file.</description>
		<content:encoded><![CDATA[<p>Wow! That is a great catch. Nicely done!</p>
<p>I have never run into that because I cheat and use 1000MB as 1GB to make it easy to calculate max size in my head. I will have to remember that when I finally switch over to using GB.</p>
<p>The one thing I want to call out is that 10 GB seems sort of big for an autogrowth increment. I would keep an eye out for performance issues if the log has to grow. I hardly ever go over 1000MB for autogrowth of either type of file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-759</link>
		<dc:creator>Oleg</dc:creator>
		<pubDate>Sat, 20 Nov 2010 03:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-759</guid>
		<description>Too many VLF was due to SQL bug.  http://www.sqlskills.com/BLOGS/PAUL/post/Bug-log-file-growth-broken-for-multiples-of-4GB.aspx  I changed autogrowth to 10GB</description>
		<content:encoded><![CDATA[<p>Too many VLF was due to SQL bug.  <a href="http://www.sqlskills.com/BLOGS/PAUL/post/Bug-log-file-growth-broken-for-multiples-of-4GB.aspx" rel="nofollow">http://www.sqlskills.com/BLOGS/PAUL/post/Bug-log-file-growth-broken-for-multiples-of-4GB.aspx</a>  I changed autogrowth to 10GB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Levy</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-756</link>
		<dc:creator>David Levy</dc:creator>
		<pubDate>Fri, 19 Nov 2010 23:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-756</guid>
		<description>I can&#039;t make the math work for the situation you are seeing. To grow 300GB in 8 GB you should get 16 VLFs per growth so (300/8)*16=~600 VLFs. Based on my calculations your average autogrowth is around 178MB.

Are you sure there is not something else going on? I would suggest running a checkdb on the database and checking for any unusual configuration settings. Also, talk to coworkers to see if anyone else is doing any special maintenance.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t make the math work for the situation you are seeing. To grow 300GB in 8 GB you should get 16 VLFs per growth so (300/8)*16=~600 VLFs. Based on my calculations your average autogrowth is around 178MB.</p>
<p>Are you sure there is not something else going on? I would suggest running a checkdb on the database and checking for any unusual configuration settings. Also, talk to coworkers to see if anyone else is doing any special maintenance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-755</link>
		<dc:creator>Oleg</dc:creator>
		<pubDate>Fri, 19 Nov 2010 22:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-755</guid>
		<description>Hi Dave, 

We had 1,500,000 VLFs in it. I shrinked the log and pregrow it to 400GB. Week later it autogrow to 700GB in 8GB steps and we are in the same situation – 1,000,000 VLFs. During the week we loaded 300Gb data and backed up readwrite filegroup (5 days). I wonder what caused so many VLFs and how to prevent it from happening. Make 1TB log next time? 

 Oleg</description>
		<content:encoded><![CDATA[<p>Hi Dave, </p>
<p>We had 1,500,000 VLFs in it. I shrinked the log and pregrow it to 400GB. Week later it autogrow to 700GB in 8GB steps and we are in the same situation – 1,000,000 VLFs. During the week we loaded 300Gb data and backed up readwrite filegroup (5 days). I wonder what caused so many VLFs and how to prevent it from happening. Make 1TB log next time? </p>
<p> Oleg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Levy</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-752</link>
		<dc:creator>David Levy</dc:creator>
		<pubDate>Fri, 19 Nov 2010 15:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-752</guid>
		<description>Yikes! 

I wonder how long that code has been broken. I fixed it now. 

Thanks for pointing that out!</description>
		<content:encoded><![CDATA[<p>Yikes! </p>
<p>I wonder how long that code has been broken. I fixed it now. </p>
<p>Thanks for pointing that out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Gardner</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-751</link>
		<dc:creator>Jonathan Gardner</dc:creator>
		<pubDate>Fri, 19 Nov 2010 15:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-751</guid>
		<description>I think you have some issues with the code.  I just tried to run the first it and line 21 and 57.  You will see a &amp;LT; and &gt;.  Those are typically issues with the way the &lt;code&gt; functions work.  You may want to correct them and offer the code in a downlad file as well.  

That aside, great article.  I have been needing to take a look a this and your code will be a great start.  Thank you.</description>
		<content:encoded><![CDATA[<p>I think you have some issues with the code.  I just tried to run the first it and line 21 and 57.  You will see a &amp;LT; and &gt;.  Those are typically issues with the way the <code> functions work.  You may want to correct them and offer the code in a downlad file as well.  </p>
<p>That aside, great article.  I have been needing to take a look a this and your code will be a great start.  Thank you.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Want to Make Your SQL Server Run Faster for Free? &#124; Adventures in SQL</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-743</link>
		<dc:creator>Want to Make Your SQL Server Run Faster for Free? &#124; Adventures in SQL</dc:creator>
		<pubDate>Fri, 19 Nov 2010 03:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-743</guid>
		<description>[...] doing that? Great question. There are lots of great posts out there on how to do this. Here is an article that I wrote detailing the process that I use and some of the reasoning behind [...]</description>
		<content:encoded><![CDATA[<p>[...] doing that? Great question. There are lots of great posts out there on how to do this. Here is an article that I wrote detailing the process that I use and some of the reasoning behind [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Levy</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-365</link>
		<dc:creator>David Levy</dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-365</guid>
		<description>That is a great catch! I used to set the auto growth higher but have stopped because it was causing my auto growth settings to go too high. It turned out that the growth setting I had really did not matter as much when the logs were well maintained because they very rarely grow. If you are constantly seeing high VLF numbers there is usually another problem like someone shrinking the files, autoshrink being turned, unexpected data growth or any other issue that really should be addressed.</description>
		<content:encoded><![CDATA[<p>That is a great catch! I used to set the auto growth higher but have stopped because it was causing my auto growth settings to go too high. It turned out that the growth setting I had really did not matter as much when the logs were well maintained because they very rarely grow. If you are constantly seeing high VLF numbers there is usually another problem like someone shrinking the files, autoshrink being turned, unexpected data growth or any other issue that really should be addressed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calvin Jones</title>
		<link>http://adventuresinsql.com/2009/12/a-busyaccidental-dbas-guide-to-managing-vlfs/comment-page-1/#comment-364</link>
		<dc:creator>Calvin Jones</dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://adventuresinsql.com/?p=12#comment-364</guid>
		<description>You calculate a value for @file_growth but don&#039;t use it.  Should it be part of the ALTER DATABASE statement to re-grow the transaction log?</description>
		<content:encoded><![CDATA[<p>You calculate a value for @file_growth but don&#8217;t use it.  Should it be part of the ALTER DATABASE statement to re-grow the transaction log?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 491/491 objects using disk: basic

Served from: adventuresinsql.com @ 2012-05-18 03:20:34 -->
