forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
15 lines
1.1 KiB
HTML
15 lines
1.1 KiB
HTML
<a name="css_02_0126"></a><a name="css_02_0126"></a>
|
|
|
|
<h1 class="topictitle1">Why Does the Disk Usage Increase After the delete_by_query Command Was Executed to Delete Data?</h1>
|
|
<div id="body0000001425313722"><p id="css_02_0126__p14892316121">Running the <b><span class="cmdname" id="css_02_0126__cmdname131694171167">delete_by_query</span></b> command can only add a deletion mark to the target data instead of really deleting it. When you search for data, all data is searched and the data with the deletion mark is filtered out.</p>
|
|
<p id="css_02_0126__p841910313545">The space occupied by an index with the deletion mark will not be released immediately after you call the disk deletion API. The disk space is released only when the segment merge is performed next time.</p>
|
|
<p id="css_02_0126__p1385280626">Querying the data with deletion mark occupies disk space. In this case, the disk usage increases when you run the disk deletion commands.</p>
|
|
<p id="css_02_0126__p8060118"></p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0066.html">Resource Usage and Change</a></div>
|
|
</div>
|
|
</div>
|
|
|