[ 
https://issues.apache.org/jira/browse/IOTDB-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218684#comment-17218684
 ] 

Jun Yuan commented on IOTDB-698:
--------------------------------

The number of virtual devices in primary and secondary index could be 
dynamically adjustable, given the size of allowed memory and the number of real 
devices. Then it will be more adaptive to the ever-changing situation.

In the mean while, you may consider LRU approach to remove resources out of 
memory when memory usage is over the limit, IF you have not yet.

> Enhance management of TsFileResource 
> -------------------------------------
>
>                 Key: IOTDB-698
>                 URL: https://issues.apache.org/jira/browse/IOTDB-698
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: Jialin Qiao
>            Assignee: WangChao
>            Priority: Major
>              Labels: pull-request-available
>
> We need a global TsFileResourceManager to manage TsFileResource in all 
> StorageGroupProcessors.
>  
> When the memory of resources exceeds a threshold, we need to remove them from 
> memory.
> The TsFileResourceManager acts like a cache.
>  
> We also need to design an index to quickly find resources for each device.



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

Reply via email to