I recently backed up one of development databases and restored it onto my laptop.
The back-up file was about 110MB in size.
The restore option took a long while to run, but did run successfully (eventually).
On looking through Windows Explorer it is seen that the Database1.mdf file is about 135MB in size with the 'log' file Database1_log.ldf being a whopping 3.48GB.
My impression is that the log file contains database history that is no longer relevant to me.
How do I go about reducing this log file ?
I've tried running the DBCC SHRINKFILE command but it doesn't seem to impact the size of the 'ldf' log file.
Can someone offer me some advice here ?
I'm guessing it's something simlpe I need to do ....
Thanks in advance
Steve
The back-up file was about 110MB in size.
The restore option took a long while to run, but did run successfully (eventually).
On looking through Windows Explorer it is seen that the Database1.mdf file is about 135MB in size with the 'log' file Database1_log.ldf being a whopping 3.48GB.
My impression is that the log file contains database history that is no longer relevant to me.
How do I go about reducing this log file ?
I've tried running the DBCC SHRINKFILE command but it doesn't seem to impact the size of the 'ldf' log file.
Can someone offer me some advice here ?
I'm guessing it's something simlpe I need to do ....
Thanks in advance
Steve