Skip to main content
NetApp Knowledge Base

What Is The Best Practice for Deleting Large Numbers of Objects from a SWIFT Tenant

Views:
27
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

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 deleteQueueWorkers in 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
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.