doc-exports/docs/obs/umn/obs_faq_0020.html
zhangyue 4e67ec282b OBS UMN DOC
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-09-21 09:16:48 +00:00

45 lines
3.6 KiB
HTML

<a name="obs_faq_0020"></a><a name="obs_faq_0020"></a>
<h1 class="topictitle1">Does OBS Support Batch Deletion of Objects?</h1>
<div id="body8662426"><p id="obs_faq_0020__p1212345052810">The following table lists the batch deletion support for different OBS tools.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_faq_0020__table1577714398131" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Support for batch deletion by different OBS tools</caption><thead align="left"><tr id="obs_faq_0020__row577863961314"><th align="left" class="cellrowborder" valign="top" width="23.1%" id="mcps1.3.2.2.3.1.1"><p id="obs_faq_0020__p977933951313">Tool</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="76.9%" id="mcps1.3.2.2.3.1.2"><p id="obs_faq_0020__p3779039181311">Batch Deletion</p>
</th>
</tr>
</thead>
<tbody><tr id="obs_faq_0020__row117792039151318"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_faq_0020__p188071813145">OBS Console</p>
</td>
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_faq_0020__p7779143941317">Supported. A maximum of 100 objects can be deleted at a time. If a folder is selected, only one folder can be deleted at a time.</p>
</td>
</tr>
<tr id="obs_faq_0020__row977917393133"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_faq_0020__p6881518141412">OBS Browser</p>
</td>
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_faq_0020__p15661183351310">Supported. A maximum of 100 objects can be deleted at a time. If a folder is selected, only one folder can be deleted at a time.</p>
</td>
</tr>
<tr id="obs_faq_0020__row1577903941316"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_faq_0020__p1588131810149">SDKs</p>
</td>
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_faq_0020__p196921850143516">Supported. A maximum of 1,000 objects can be deleted at a time.</p>
</td>
</tr>
<tr id="obs_faq_0020__row377914398139"><td class="cellrowborder" valign="top" width="23.1%" headers="mcps1.3.2.2.3.1.1 "><p id="obs_faq_0020__p16881161812146">APIs</p>
</td>
<td class="cellrowborder" valign="top" width="76.9%" headers="mcps1.3.2.2.3.1.2 "><p id="obs_faq_0020__p1277993914135">Supported. A maximum of 1,000 objects can be deleted at a time.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="obs_faq_0020__note1369422616919"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_faq_0020__p0534832108">The batch deletion performance is negatively correlated with the number of objects in a single request. When it comes to QPS, deleting <em id="obs_faq_0020__i14156327182517">N</em> objects is counted as <em id="obs_faq_0020__i19156127122510">N</em> 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.</p>
<p id="obs_faq_0020__p75343320100">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.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_faq_0100.html">OBS Basics</a></div>
</div>
</div>