What Is The Best Practice for Deleting Large Numbers of Objects from a SWIFT Tenant
Applies to
NetApp StorageGRID 11.9 or earlier
Answer
- Use a SWIFT client to perform object deletes, and throttle the DELETE requests on the client side to a moderate rate (e.g., ~500 objects/sec)
- Set
deleteQueueWorkersin the StorageGRID Rest API to a moderate value (e.g., 10–20 initially), and gradually increase while monitoring grid performance and metrics. Typical effective range is 20–50, but adjust based on your environment - Disable synchronous deletes for large batches; rely on asynchronous deletes to reduce grid impact. Note: Asynchronous deletes take longer to reflect freed space
- Closely monitor StorageGRID system metrics, especially metadata usage, during the deletion process. Large batch deletes can temporarily increase metadata consumption
Additional Information
additionalInformation_text
