September 20, 2016 at 10:27 am
Since log files are not able to use instant file initialization like data files, will it impact failover time to presize the tempdb log in the same way we presize tempdb data files?
Howard
September 20, 2016 at 10:31 am
If you are talking about in a FCI, then no. If the log size has not grown then the same file will be used on failover.
Read https://www.sqlskills.com/blogs/jonathan/does-the-tempdb-log-file-get-zero-initialized-at-startup/ which has all the details you need, and lots more. :w00t:
September 20, 2016 at 10:36 am
Thanks I'll read the article.
September 20, 2016 at 1:40 pm
No. TempDB uses existing files, they're just cleaned on a restart. It's only if the files aren't there that it will have to create and size them.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 20, 2016 at 1:43 pm
Thanks both for the explanations.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply