PDA

View Full Version : Problem with database files


nemeek
07.07.2005, 10:41
I have a problem with mssql, in the forlder of data, lin2world_data.MDF size 200mb and lin2world_log.LDF size 19GB. I need free space in the disk, how can i deleted lin2world_log.LDF or what must i make?


Thanks and greets

nemeek
07.07.2005, 12:47
can i use command shrink without problems???

Thx

BiGBoY
07.07.2005, 13:44
yes u can. make sure u set max db size too. no use to have few gb log db

midnight
07.07.2005, 13:51
Application with clean logs.

nemeek
07.07.2005, 14:21
thx 4 all

Sakumi
07.07.2005, 16:19
You can also set your Database Recovery method to simple, so your transaction log wont grow to ungodly size.

I'd suggest doing a transaction log backup (which will make it smaller) then change the db recovery method to simple to prevent future growth.

If using the simple recovery model, make sure you do fuill backups of the database regularly.