Answer by Gareth Lyons for SQL Server does not shrink log file to target size...
Log files are written to sequentially in a round-robin fashion. The log won't be shrunk beyond the last active portion of the log (in your example above, VLF 41). Once you take a log backup, that VLF...
View ArticleAnswer by derBjörn for SQL Server does not shrink log file to target size...
Sometimes I encounter the same issue and the answer of Henry van Megen is the really last step I would ever take to fix this issue. Luckily this never happens to me.When I encounter this problem, I've...
View ArticleAnswer by Henry van Megen for SQL Server does not shrink log file to target...
The best option I always find when confronted with issues like this is just to restart the service, switch to single user mode, export the database, delete the original and import it back where it...
View ArticleSQL Server does not shrink log file to target size right after log file grows...
I was trying to shrink a highly fragmented log file that had already grown beyond its default size.Firstly, I switched the database from FULL to SIMPLE recovery mode, then backed to full for log...
View Article