Home Forums SQL Server 2005 T-SQL (SS2K5) Transaction log growing huge if DB is in simple recovery model RE: Transaction log growing huge if DB is in simple recovery model

  • GilaMonster (6/27/2013)


    girijesh.ipec (6/27/2013)


    Shink Log Files and if it occurs frequently then automate Shrink file on Daily/weekly/Monthly depending on growth of log file size.

    No, no, no! That is terrible advice.

    If the lg file is growing there's a reason. The solution is to identify the cause and resolve. The log file should never be automatically shrunk (neither should the data files)

    +1000.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)