November 20, 2011 at 9:51 am
How can we resolve Log full message in SQL Server 2008?
Pl. guide.
November 20, 2011 at 10:14 am
see
http://www.sqlservercentral.com/articles/64582/
---------------------------------------------------------------------
November 20, 2011 at 2:00 pm
bharat sethi (11/20/2011)
How can we resolve Log full message in SQL Server 2008?Pl. guide.
How big is the current log file?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 20, 2011 at 2:13 pm
Please read this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/
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
November 21, 2011 at 12:11 am
switch to simple recovery model. Backup database then shrink the log.
Sample below:
USE testdatabase
DBCC shrinkfile ( Employees_log, 1)
DO BACK UP FIRST!
mind you that if your using FULL recovery this will really eat up log. so plan things accordingly and make sure you have space for backup plans like this.
===============================================================
"lets do amazing" our company motto..
November 21, 2011 at 12:33 am
jnuqui (11/21/2011)
switch to simple recovery model. Backup database then shrink the log.Sample below:
USE testdatabase
DBCC shrinkfile ( Employees_log, 1)
DO BACK UP FIRST!
mind you that if your using FULL recovery this will really eat up log. so plan things accordingly and make sure you have space for backup plans like this.
No. No. No!!!
Firstly that has consequences. (no mention of broken log chain or need for a backup after switching back to full recovery)
Second, there's no way of knowing at this point if the log is full because of a lack of log backups or something else. That's like telling someone who's car won't start to get petrol (gas) without checking whether maybe the battery is flat.
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 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply