April 2, 2012 at 12:03 am
Comments posted to this topic are about the item SQL Server Instant File Initialization (PQW)
April 2, 2012 at 2:43 am
great summary, John !
It's good you mention "DB restores" as well, as it is a "non trivial" usage area in many cases. :exclamationmark:
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
April 2, 2012 at 2:50 am
Thanks Johan!
April 2, 2012 at 4:32 am
Awesome post. Been using the feature ever since I learnt from Kim Tripp (> 4years)
A little bit of explanation around why log files are not zero initialized would have made it even more complete.
Thx
NCS
April 2, 2012 at 4:35 am
April 2, 2012 at 6:51 am
I wrote SQLCop a couple years ago. SQLCop can also detect whether Instant File Initialization is enabled.
Download SQLCop from http://sqlcop.lessthandot.com
Run SQLCop
Log in to any database on the server.
Expand "Configuration"
Click on "Instant File Initialization"
SQLCop will also show you a blog written by Brad M. McGehee that shows you how to enable Instant File Initialization.
George Mastros
Orbit Software, Inc.
April 2, 2012 at 8:01 am
Good job John in explaining this concept. Looking forward for your future PQWs. 🙂
M&M
April 2, 2012 at 8:43 am
Thanks Mohammed! You can never have too many PQWs 🙂
April 2, 2012 at 11:34 am
Thanks much for this article. It implies that it's more important to pre-size the tlog files than the data files because the tlog files cannot take the advantage of Instant File Intialization.
April 3, 2012 at 3:43 am
Great artical John, i'm probably not alone in thinking why haven't I done that already 🙂 (implementing it in DEV as I type), looking forward to your next post.
Mike
April 3, 2012 at 3:48 am
Thanks Mike, glad you found it useful. Always test those changes in DEV first 😉
April 3, 2012 at 11:56 am
I just created a test database on my Dev machine and I don't see anything in the log about zeroing the data file or log file. What am I missing?
Thanks!
April 3, 2012 at 11:10 pm
Try Creating a database with a large filesize. e.g. 8gb or more and see how long it takes with instant initialization and with out
April 3, 2012 at 11:28 pm
heb1014 (4/3/2012)
I just created a test database on my Dev machine and I don't see anything in the log about zeroing the data file or log file. What am I missing?Thanks!
Did you enable those traces like how John had described.
M&M
April 4, 2012 at 9:22 am
Thanks Mohammed! I must have read too fast. Both flags have to be enabled to see the zeroing in the log and data files. Then, the service account must be added to the volume maintenance policy (followed by a restart).
Works now!
Viewing 15 posts - 1 through 15 (of 16 total)
You must be logged in to reply to this topic. Login to reply