Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing deletion in batch
Message
De
30/12/2013 22:48:07
 
 
À
29/12/2013 21:40:58
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01591061
Message ID:
01591137
Vues:
66
>Michel, a few months ago, you reported an error in a scenario that sounded a little like the one you just described. And I think it was because of a delete occurring while another process was trying to read the same row. Is this new situation anything like the one you had a while back?

No, this one is new. Basically, the process cannot run anymore. And, this is with low traffic on site. So, this robot process cannot execute this delete command anymore and I really do not know what is the trigger. I am pretty sure it is related to this SQL Server log process of logging every transaction in case we need to recovery. So, a delete plus a write in another place somewhere seems to be quite heavy now for this SQL command to execute. I am wondering if a delete in a loop one record at a time would be sufficent to bypass this behavior.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform