Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
2021-09
Description
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.
We should use a more effective way to construct tagIndex.