Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing deletion in batch
Message
De
09/01/2014 17:03:15
 
 
À
07/01/2014 17:16:01
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:
01591597
Vues:
46
I restored the database from the production into a test environment. Of course, when doing that, the fragmentation of the related table was ok because the entire database was written on disk from scratch. So, 13 records of fragments were recognized and none of them were higher than 22%. I ran the same robot task to cleanup the records and it ended up in the same situation. There is no way I can delete 1.9 million records in one command without putting the system down.

I will adjust my procedure to recycle one record at a time and will see how it works.
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