Does OBS Support Batch Deletion of Objects?
The following table lists the batch deletion support for different OBS tools.
Tool |
Batch Deletion |
---|---|
OBS Console |
Supported. A maximum of 100 objects can be deleted at a time. If you are deleting a folder, only one folder can be deleted at a time. For details, see Deleting an Object or Folder. |
OBS Browser+ |
Supported. Files and folders can be deleted in a batch, and the number of files and folders to be deleted is not limited. |
APIs |
Supported. A maximum of 1,000 objects can be deleted at a time. For details, see Deleting Objects. |
![](https://support.huaweicloud.com/eu/obs_faq/public_sys-resources/note_3.0-en-us.png)
The batch deletion performance is negatively correlated with the number of objects in a single request. When it comes to QPS, deleting N objects is counted as N operations. If a large number of objects named with prefixes in lexicographic order are deleted, lots of requests may be concentrated in a specific partition, which results in hot access. This limits the request rate in the hot partition and increases access delay.
To address this problem, you can reduce the number of objects in a single batch deletion request, initiate more concurrent requests, and name objects with random prefixes.
OBS Basics FAQs
- How Can I Get Started with OBS?
- What Are the Advantages of Object Storage over SAN and NAS Storage?
- Which Types of Data Can Be Stored in OBS?
- How Much Data Can I Store in OBS?
- Does OBS Support Traffic Monitoring?
- Can Folders in OBS Be Used the Same Way as in a File System?
- Where Is Data Stored in OBS?
- How Can I Determine Which Region to Store My Data In?
- Does OBS Support Access over HTTPS?
- Can Other Users Access My Data Stored in OBS?
- Does OBS Support Resumable Transfer?
- Does OBS Support Batch Upload?
- Does OBS Support Batch Download?
- Does OBS Support Batch Deletion of Objects?
- What Are the Factors That Affect Upload and Download Speeds of OBS?
- Why Did Some of My Data Stored on OBS Get Lost?
- Can Deleted Data Be Recovered?
- Will There Be Data Left Over in OBS After I Delete an Object?
- What Can I Do If My Access to the OBS Domain Name Failed Due to a CA Certificate Connection Failure?
- What Are the Differences Between OBS, EVS, and SFS?
- Why Is an Alarm Reported When I Access an OBS URL?
- How Do I Determine Whether I Am Accessing OBS over an Intranet?
- Will My Bucket Performance Be Affected by Other Users' Services?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more