• Gamleur84 - Thursday, December 7, 2017 11:50 AM

    I am not concerned about the 500GB empty file.

    You should be.  Even with a log file in good shape insofar as VLFs, it takes a long time to format even with "Instant File Initialization" enabled.  If it turns out that you need a 500GB log file, then you may have a serious problem with some code and a couple of other things.

    --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)