March 6, 2013 at 2:48 pm
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
March 6, 2013 at 2:58 pm
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.
March 6, 2013 at 10:19 pm
Or this one: http://www.sqlservercentral.com/articles/T-SQL/67898/.
March 7, 2013 at 12:18 am
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