Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

15 lines
1.6 KiB
HTML

<a name="mrs_01_24537"></a><a name="mrs_01_24537"></a>
<h1 class="topictitle1">Why Do Files of a Carbon Table Exist in the Recycle Bin Even If the drop table Command Is Not Executed When Mis-deletion Prevention Is Enabled?</h1>
<div id="body0000001261852011"><div class="section" id="mrs_01_24537__s32e8fb6882ae433d9dc51e0975a36376"><h4 class="sectiontitle">Question</h4><p id="mrs_01_24537__p9445194973412">Why do files of a Carbon table exist in the recycle bin even if the <strong id="mrs_01_24537__b1671121302412">drop table</strong> command is not executed when mis-deletion prevention is enabled?</p>
</div>
<div class="section" id="mrs_01_24537__section1811254073410"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_24537__p2962658173416">After the the mis-deletion prevention is enabled for a Carbon table, calling a file deletion command will move the deleted files to the recycle bin. The intermediate file <strong id="mrs_01_24537__b1453018633012">.carbonindex</strong> is deleted durtion the execution of the <strong id="mrs_01_24537__b1889601323013">insert</strong> or <strong id="mrs_01_24537__b2512418113014">load</strong> command. Therefore, the table files may exist in the recycle bin even through the <strong id="mrs_01_24537__b17856105710302">drop table</strong> command is not executed. If you run the <strong id="mrs_01_24537__b182321150162813">drop table</strong> command, a table directory with a timestamp is generated. The files in the directory are complete.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1457.html">CarbonData FAQ</a></div>
</div>
</div>