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 |
|
mrks
Starting Member
1 Post |
Posted - 2008-11-14 : 07:07:10
|
| Hello,I have a database that is just 10MB and transaction log that is 5GB, the person who made the maintenance plan didn't included the transaction logs into the backup and the file is now huge.Now i don't have space on that server to make a backup of the database and the transaction logs so the log file will shrink.My question is: if i set the recovery model to simple will the log file shrink automatically? or what to do with the transaction log file?Regards,Nikola |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-11-14 : 09:53:45
|
quote: Originally posted by mrks Hello,I have a database that is just 10MB and transaction log that is 5GB, the person who made the maintenance plan didn't included the transaction logs into the backup and the file is now huge.Now i don't have space on that server to make a backup of the database and the transaction logs so the log file will shrink.My question is: if i set the recovery model to simple will the log file shrink automatically? or what to do with the transaction log file?No, you have to shrink with DBCC shrinkfile.Regards,Nikola
|
 |
|
|
|
|
|