Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing deletion in batch
Message
From
09/01/2014 17:03:15
 
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01591061
Message ID:
01591597
Views:
49
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform