performance - Deleting data in a sql server table takes much time -


i have table has more 380 million records. have stored procedure which:

  1. deletes records.
  2. 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

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -