You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xinyu Tan (Jira)" <ji...@apache.org> on 2021/09/10 02:57:00 UTC

[jira] [Created] (IOTDB-1667) Speed up the deletion of storage groups

Xinyu Tan created IOTDB-1667:
--------------------------------

             Summary: 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
            Reporter: Xinyu Tan
             Fix For: 0.12.2-SNAPSHOT
         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!

!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!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)