January 16, 2011 at 1:05 am
Hi,
I know truncating log file is not a good practice as per my knowledge truncation only removes unused space so that it can be reused. If I truncate log file what is going to happen? Will this only remove unused space of log only? It not then what will happen after truncating the log file.
Thanks in advance.
January 16, 2011 at 3:23 am
Truncate != Shrink
Shrink removes unused space so that next time the log needs that space it has to grow.
Truncate means discard inactive log records. It breaks the log chain, log backups will fail after that, point in time restores will not be possible until a full/diff backup is taken.
Please read through this - Managing Transaction Logs[/url]
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
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply