Trying to populate a file group

  • I have several large tables I need to move to a secondary filegroup. In sql 2000 std ed when I attempt to move a single large table to the new filegroup, it chokes and I have to cancel the job. Perahps I should run this directly on the server? Any other ideas?

    Thanks.

    When the snows fall and the white winds blow,The lone wolf dies but the pack survives.

    Once you've accepted your flaws, no one can use them against you.

  • Not sure what you're using to do the move, but can you split the job? Trying to move ore even UPDATE more than 1 or 2 million rows at a time (depending on your machine, could be as high as 5 million rows or so) will cause the very problem you stated.

    --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 2 posts - 1 through 1 (of 1 total)

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