November 26, 2013 at 9:20 pm
Comments posted to this topic are about the item Minimum Number of VLFs
November 26, 2013 at 11:47 pm
VLF stands for Virtual Log File and the transaction log file is made up of one or more virtual log files.
Damn you Brent Ozar!
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
November 27, 2013 at 12:39 am
nice question to recall the basics 🙂
thanks for sharing
November 27, 2013 at 1:52 am
Nice question, it`s always good to go back to basics.
Also there is a good reference for implementing VLF`s:
http://sqlstudies.com/2013/08/26/the-effect-of-vlf-size-on-shrinking-the-log/
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
November 27, 2013 at 2:13 am
Great question thanks - had to research this one to make sure, which is always useful.
November 27, 2013 at 5:35 am
November 27, 2013 at 6:26 am
I got this right this because I knew it was impossible to shrink to less than 2 VLFs.
As the URL referred to in Hanys post hints at, if creating a log file don't create it too large to start with in case you need to shrink it. if you want it 8GB big (16VLFs), create at 64MB (4 VLFs) and then grow it to 8GB, you will then be able to shrink it very small if required.
(normal caveats on not shrinking unnecessarily, blah,blah)
---------------------------------------------------------------------
November 27, 2013 at 6:33 am
Good question. I learnt something.
I picked 4, which was wrong, because I have neve seen fewer than 4. I guess I've never worked with a database that started out with less than a megabyte of log file.
Tom
November 27, 2013 at 7:00 am
November 27, 2013 at 7:22 am
This was removed by the editor as SPAM
November 27, 2013 at 8:20 am
Stewart "Arturius" Campbell (11/27/2013)
Interesting one, thanks MikeHad to research, even found Kimberly Tripp's blogs on this topic (8 Steps to better Transaction Log throughput
[/url] and Transaction Log VLFs – too many or too few?[/url]).
If I remember rightly Kimberly Tripp blogged that anything below 64MB as an initial allocation would be split into 4 VLFs, which wouldn't have led you to the right answer.
Tom
November 27, 2013 at 8:46 am
Koen Verbeeck (11/26/2013)
VLF stands for Virtual Log File and the transaction log file is made up of one or more virtual log files.
Damn you Brent Ozar!
Ditto. I had no idea what the answer was so Google sent me to Brent Ozar. He's gotta know, right?
November 27, 2013 at 10:15 am
Scott Arendt (11/27/2013)
Koen Verbeeck (11/26/2013)
VLF stands for Virtual Log File and the transaction log file is made up of one or more virtual log files.
Damn you Brent Ozar!
Ditto. I had no idea what the answer was so Google sent me to Brent Ozar. He's gotta know, right?
Too funny, me too! http://www.sqlservercentral.com/Forums/Skins/Classic/Dialogs/InsertEmotIcon.aspx?ControlID=txtPost#
November 27, 2013 at 12:24 pm
Here's another interesting reference (this is the one that I found when researching the question):
http://sqlstudies.com/2013/08/26/the-effect-of-vlf-size-on-shrinking-the-log/[/url]
December 9, 2013 at 2:31 am
Very good basic question. 🙂
Viewing 15 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic. Login to reply