• murnilim9 (7/15/2014)


    sorry ... I hv just realized there is something that I haven't answered yet..

    I perform the default rebuild indexes which has the feature ( Sort_temp = off ) and when i take a look on my temp db ( data file size is 792.56 MB and Volume usage = 0.25% ) and log file is 505MB ( volume usage = 0.16%)

    meanwhile my database size is data file --> 5.36 GB ( volume usage = 1.78%)

    log file 1 --> 5MB (volume usage = 0%)

    log file 2 --> 15 GB ( volume usage = 9.37%)

    I will rebuild around 23 indexes with each size around 0.3 GB

    What do you think about it ?

    thankss!!

    Doing a log file backup once every 2 to 3 hours isn't enough especially when rebuilding/reorganizing indexes. I recommend you do T-LOG backups every 15 minutes or less. Don't worry about the number of log files. Restores through the GUI will easily take care of all that for you. If you don't trust the restore GUI, use it to build the restore script.

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