Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing deletion in batch
Message
De
10/01/2014 02:40:34
Walter Meester
HoogkarspelPays-Bas
 
 
À
09/01/2014 17:03:15
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:
01591615
Vues:
52
>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, PMJI,

Did you try to set the recovery model of the database to simple?
Also did you consider to put your database on an SSD drive?

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform