You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Liuxuxin (Jira)" <ji...@apache.org> on 2021/11/04 05:36:00 UTC

[jira] [Created] (IOTDB-1924) Remove the operation of clearing the cache after the compaction is over

Liuxuxin created IOTDB-1924:
-------------------------------

             Summary: Remove the operation of clearing the cache after the compaction is over
                 Key: IOTDB-1924
                 URL: https://issues.apache.org/jira/browse/IOTDB-1924
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Server
            Reporter: Liuxuxin
            Assignee: Liuxuxin
             Fix For: 0.13.0


In origin compaction process, the ChunkCache and TimeseriesMetadataCache will be clear when the compaction finishes. This is because the key of Cache doesn't contain the times of compaction. If we don't clear the cache, the correctness of the query will be affected. But everytime we clear the cache, the efficiency of query will be decreased. If the cached key contains the number of compaction, we do not need to clear the cache at the end of the compaction, which can improve the efficiency of the query.



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