[
https://issues.apache.org/jira/browse/IOTDB-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haonan Hou reassigned IOTDB-1667:
---------------------------------
Assignee: Haonan Hou (was: Jinrui Zhang)
> Speed up the deletion of storage groups
> ---------------------------------------
>
> Key: IOTDB-1667
> URL: https://issues.apache.org/jira/browse/IOTDB-1667
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: Core/Engine
> Reporter: Xinyu Tan
> Assignee: Haonan Hou
> Priority: Major
> Attachments: image-2021-09-10-10-55-59-921.png,
> image-2021-09-10-10-56-05-205.png, image-2021-09-10-10-56-09-642.png,
> image-2021-09-10-10-56-13-652.png
>
>
> Currently, deleting a storage group requires waiting for all corresponding
> memtables to flush to disks. This may take a lot of time. Experiments show
> that deleting all storage groups takes more than two minutes when the memory
> usage is 150GB. In fact, we might be able to drop the corresponding memtable
> in memory and let the JVM GC it.
> !image-2021-09-10-10-55-59-921.png|width=529,height=274!
> !image-2021-09-10-10-56-05-205.png|width=528,height=275!
> !image-2021-09-10-10-56-09-642.png|width=523,height=254!
> !image-2021-09-10-10-56-13-652.png|width=518,height=264!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)