Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
thugs
Starting Member
13 Posts |
Posted - 2007-09-10 : 09:57:52
|
Hi,Got a problem with shrinking of log fileMy database is on Development serverData file size : 89 MBLog File Size : 1.3 GBFirst i ran the DBCC SHRINKFILE after that there is no change in the size of the log file then i took the log fikle backup and tried to shrink using the DBCC SHRINK file still no change in the sizeAgain i took the log backup and ran DBCC command but there is no useCan anyone help me out in thisthanks, |
|
Kristen
Test
22859 Posts |
|
0341
Starting Member
21 Posts |
Posted - 2007-09-10 : 16:15:41
|
Change the Recovery Mode to Simple then shrink the file and change it back to full if it's not already simple. |
 |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-09-10 : 22:52:21
|
And you should backup log regularly. |
 |
|
thugs
Starting Member
13 Posts |
Posted - 2007-09-11 : 03:53:48
|
Thanks for the replies.My problem is solvedI forgot to put the truncate_only option.Now its working |
 |
|
|
|
|