Jialin Qiao created IOTDB-3274:
----------------------------------
Summary: Optimize the TsFileResource Index
Key: IOTDB-3274
URL: https://issues.apache.org/jira/browse/IOTDB-3274
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Jialin Qiao
Assignee: Jialin Qiao
Currently, the TsFileResources are all cached in memory. When its memory
exceeds a threshold, we degrade the Device_time_index to file_time_index,
however, this affects the query performance and the open file num in the query.
The root cause is that TsFileResources are leaf indexes, whose memory
corresponds to the tsfile number, we need to build a tree index and only cache
some parent nodes in memory.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)