General downloads

DelZeroSift

Author
Throstur Jonasson  
Category
General downloads
Date
30/12/2008
Size
3 KB
Downloads
1083
MD5 digest
4FCBF0B644FA428B2C3CA38D70EAF7AF
Rating
54321
Popularity
Not yet downloaded in the last two weeks
A stored procedure to delete zero SIFT records.

It will delete records in small batches and only when the amount of zero SIFT records exceeds 10% of the total records. It will only run for a set amount of hours so it's easy to schedule and can therefore run during the maintenance window.

It will automatically rebuild indexes on sift tables after deletion and can be set up to make log backups during run.

I usually set it up to run daily for a couple of hours per night. It will then gradually minimize the number of zero entries in the database and after an initial hit keep them to a minimum.
Download this file