performance - Deleting data in a sql server table takes much time -
i have table has more 380 million records. have stored procedure which:
- deletes records.
- insert something.
the total procedure takes around 30 minutes execute. out of delete
takes 28 minutes.
delete simple statement, along these lines:
delete condition_1 , condition_2 , condition_3
can me?
firstly have @ indexing , query..it should in first place not take 28 mins
?
it maybe worth taking @ database tuning , query optimization...maybe can try delete records incrementally..something suggested here..
Comments
Post a Comment