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

[jira] [Created] (IOTDB-1703) MManager Recover with tag costs long time

Yukun Zhou created IOTDB-1703:
---------------------------------

             Summary: MManager Recover with tag costs long time
                 Key: IOTDB-1703
                 URL: https://issues.apache.org/jira/browse/IOTDB-1703
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Schema Manager
            Reporter: Yukun Zhou
             Fix For: 0.13.0, 0.12.3


IoTDB support tagIndex in memory for tag based timeseries query.

Current tagIndex is based on CopyOnWriteArraySet and the time complexity to construct each set is O(n2).

An existing case is that the time for recovering tagIndex for 50000 timeseries with tags costs 5min or even more, based on working environment.



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