Delete large data from live table

  • I have to delete data from live table( Size of DB:terabytes) (system is becoming slow).

    without affecting the end users ?

    And tables have indexes and identity columns.( when I delete , I don't want to affect the identity columns, how can we do it?)

    It is taking lot of time to delete the data.How can i do that?

    Any steps to follow.

    Thanks

    Komal

  • There is an excellent article on the SQLServerCentral home page today on that very subject:

    http://www.sqlservercentral.com/articles/delete/96780/

    Be sure to read the discussion on the article, since it has some alternative methods and additional considerations for large volume deletes.


    And then again, I might be wrong ...
    David Webb

  • komal145 (3/6/2013)


    when I delete , I don't want to affect the identity columns, how can we do it?

    Can you elaborate this ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

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

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