Moving TempDB Production - rebuild space

  • Hi,

    I ran out of space while rebuilding indexes over the weekend.

    I'm thinking of adding additional space (additional Lun) and then moving my tempdb over to this new space. The thought is that I can have the index rebuild use tempdb so I won't run out of room during the rebuild.

    1) Is this is a good plan?

    2) If so, can I move tempdb on a busy production server without stopping services?

  • 1) So you are currently using 'SORT_IN_TEMPDB = ON'? - if yes, additional storage for TEMPDB will work.

    2) TEMPDB move will require an outage.

  • krypto69 (7/6/2015)


    Hi,

    I ran out of space while rebuilding indexes over the weekend.

    I'm thinking of adding additional space (additional Lun) and then moving my tempdb over to this new space. The thought is that I can have the index rebuild use tempdb so I won't run out of room during the rebuild.

    1) Is this is a good plan?

    2) If so, can I move tempdb on a busy production server without stopping services?

    Are you absolutely positive that it was TempDB that you ran out of space on? Even with sort in temp db turned on, most of the load will be in the MDF file and the LDF file.

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

Viewing 3 posts - 1 through 2 (of 2 total)

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