PDA

View Full Version : [HELP] SQL Log is Full.


MamonT
22.07.2006, 07:47
How to up some space? Oo
http://zloi.dinfo.ru/error3.JPG

MelkorTheStrong
22.07.2006, 07:50
go to C:\Program Files\Microsoft SQL Server\MSSQL\Data.
Delete any _Log.LDF file there that you want.

Don't touch any _Data.MDF files, those are the actual database records.

That should fix that error...

MamonT
22.07.2006, 08:09
Thx :]

hr
22.07.2006, 12:00
Delete any _Log.LDF file there that you want. ROFL!!!

run in QA
backup log lin2world with truncate_only
go
use lin2world
dbcc shrinkfile (lin2world_log, 1)
go

...or set Simple recovery model for lin2world db

MelkorTheStrong
22.07.2006, 16:48
Or you could just delete the log file. I back up my database once in awhile, and I don't need to save a 1gb+ log file :/

I don't know queries lol. None.

Manually deleting serves the same purpose.

Shawnmb
23.07.2006, 01:53
Yeah hr posted exactly what I was going to say, deleting the log file really isn't the right way to do it.

MelkorTheStrong
23.07.2006, 02:13
Why not? Doess it cause problems? I don't really delve into the extra options of SQL at all, or the query analyzer, so I don't know.

SlayerX
25.07.2006, 06:44
lol I deleted my log file once, it was a nightmare