Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing deletion in batch
Message
From
10/01/2014 02:40:34
Walter Meester
HoogkarspelNetherlands
 
 
To
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:
01591615
Views:
45
>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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform