In which Scenario we can use ldf file in sql server?

  • Hi all,

    ldf file will maintain all transactions based on recovery mode.

    but when we can use that ldf file and how?

  • You use the log file any time you take a log backup, roll a transaction back, restart SQL and let the database recover, implement mirroring, transactional replication or CDC.

    So what 'usage' did you have in mind that's not covered there. It's not an audit log if you're thinking of using it to see who ran what and when.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply