DaweiLiu created IOTDB-1327:
-------------------------------

             Summary: Query caching based on the latest data
                 Key: IOTDB-1327
                 URL: https://issues.apache.org/jira/browse/IOTDB-1327
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Server
            Reporter: DaweiLiu


After the current memtable is written to disk, the data is erased from memory.
If the time required for a query request happens to be the same as the time 
needed to flush the memtable from disk, the Query engine will need to reload 
the data from disk and cache the chunk read in memory.


It is more likely that the latest data in the time series data will be 
retrieved by the user. Therefore, when the data in memtable is converted to 
Chunk and flushed to disk, it is not necessary to erased the data in memory 
directly. Instead, it is necessary to cache as much time as possible to reduce 
disk read.



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

Reply via email to