Link to home
Start Free TrialLog in
Avatar of zedlin
zedlin

asked on

LDF Size is very big

I have an ms sql database, database name is  allen
allen.MBF is 3.170.880 KB
allen.LDF is 3.184.640 KB  (more than 3 GB)

why ldf file is to big? and how can I make is small?
 
ASKER CERTIFIED SOLUTION
Avatar of arbert
arbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you don't need transaction log backups (in most cases of a simple, local databases you don't), just set your database to simple recovery model. Then use the Enterprise Manager to shrink the logfile. You may need to do it more than once to get it to the desired size (usualy 10-20 MB should be enough for a database of this size).