I am using the SPWeb ProcessBatchData method (plus disabling the recycle bin while it runs) to delete all documents from a document library, but it still seems painfully slow to me. A document library with 5,300 documents and 2.7 GB took roughly 3 hrs & 40 min to delete all documents. I'm running SQL Server on a Xeon CPU 3.06 GHz, 4.75 GB RAM and SAN storage. Do you know if this performance is in the expected range for this delete operation? Or, if not, do you have any ideas what might be causing the bottleneck?
View Complete Post