Results 1 to 3 of 3

Thread: purge .ldf file

  1. #1
    Join Date
    May 2004

    Unanswered: purge .ldf file

    I'm assuming that the .ldf file houses all the transaction logs, well mine is getting quite large (like 6 times the size of my .mdf) and I'm wondering if there is a way to purge logs back to a specific date. Can anyone give me some direction? Thanks

  2. #2
    Join Date
    Feb 2004
    In front of the computer
    Provided Answers: 54
    You can't clear the log selectively... Its unfortunately an "all or nothing" proposition. Check out the How To from BOL.


  3. #3
    Join Date
    Jul 2003
    San Antonio, TX
    Your log files grows so large because there are action queries against your database that modify large volumes of data. Assuming your Recovery Mode is Simple, the smaller your transactions in terms of volume of data affected, the less chances are that your log would grow. If the recovery mode is Full or Bulk-Logged, the growth also depends on the frequency of transaction log or full database backups.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts