why can't I shrink this log file?

  • Hello all

    I hava a database of 15 gb on the mdf and 54gb on the log, both with autogrowth, nobody is using it, still I can't shring that log file, I even tried setting the database offline and then onlone agin just in case there was something running in there but when I shrink the file the size remains the same

    Any ideas?

    Thanks in advance

  • I just noticed the recovery mode wasset to full, I was able to shrink it now

  • Did you take a log backup or did you change to simple recovery?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • a log backup

  • Please read through this - Managing Transaction Logs[/url] and this - http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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 5 posts - 1 through 4 (of 4 total)

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