• lgluna20 (8/19/2015)


    Hello

    I hope you are fine.

    I have a questions about Update Statistics & Rebuild index.

    Every day I have a maintenance Job of my DBs where I Include Update Statistics & Rebuild index.

    1-Is it necessary to have these two activities in the maintenance Job or only one?

    In the past I read that was not necessary to have the two process but I’m not sure

    What is your recommendation for Daily Maintenance Job ?

    If you're talking about what comes canned in an SQL Server "Maintenance Plan", you shouldn't be using either because it will rebuild indexes and stats that don't need it and that's blowing your logfile up in size unless you're not much interested in point-in-time backups, which you should absolutely be interested in.

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