December 9, 2002 at 10:16 am
Hi,
Due to autogrow parameter setting, the transaction log file got 2GB size. Is there a way to shrink it back to 100 or 200 MB ?
I appreciate your response.
Ravi
December 9, 2002 at 10:27 am
See "Shrinking the Transaction Log" in BOL.
you will end up truncating your log and using DBCC ShrinkFile.
Be sure to set autogrow to a reasonable size or turn it off.
December 9, 2002 at 10:56 am
In SQL7 I have never been able to shrink log files even by following BOL. I always detach and re attach my databases.
Far away is close at hand in the images of elsewhere.
Anon.
December 9, 2002 at 11:05 am
Have you ever tried running this script prior to shrinking the log file:
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples
Gregory A. Larsen, MVP
December 9, 2002 at 12:27 pm
Thanks friends for your timely help.
Ravi.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply