Bug: database/server ‘shutdown due to error 3314’
[Edit 3/12/2019: it looks like this bug, or a similar one, is also in SQL Server 2016. I’ll post an update once I have it.] [Edit 1/20/2020: still in 2016 SP2 CU8 as of today.] Over the years I’ve...
View ArticleSQLskills SQL101: Is the recovery interval guaranteed?
SQLskills has an ongoing initiative to blog about basic topics, which we’re calling SQL101. We’re all blogging about things that we often see done incorrectly, technologies used the wrong way, or where...
View ArticleNew VLF status value
At least since I started working on the SQL Server team (just after 7.0 shipped) and since then there have only been two VLF status codes: 0 = the VLF is not active (i.e. it can be (re)activated and...
View ArticleLazy log truncation or why VLFs might stay at status 2 after log clearing
Earlier this year I was sent an interesting question about why the person was seeing lots of VLFs in the log with status = 2 (which means ‘active’) after clearing (also known as ‘truncating’) the log...
View ArticleThe Curious Case of… faster disks causing more WRITELOG waits
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View ArticleThe Curious Case of… why the transaction log has to be zero-initialized
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View ArticleThe Curious Case of… too few log records for an offline index rebuild
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View ArticleThe Curious Case of… why a minimally-logged operation doesn’t make a log...
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View ArticleThe Curious Case of… a truncated log file after a revert from snapshot
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View ArticleThe Curious Case of… the aborted xdes map
(The Curious Case of… used to be part of our bi-weekly newsletter but we decided to make it a regular blog post instead so it can sometimes be more frequent. It covers something interesting one of us...
View Article