You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/07/18 02:27:15 UTC
[GitHub] [incubator-iotdb] little-emotion opened a new pull request #262:
[IOTDB-144]meta data cache for query
little-emotion opened a new pull request #262: [IOTDB-144]meta data cache for query
URL: https://github.com/apache/incubator-iotdb/pull/262
To increase query speed, metadata needs to be cached, including TsFileMetaData and TsDeviceMetaData.
The files in IOTDB are organized according to time, so the query frequency of different files varies greatly. Cache metadatas of frequently queried files can reduce the time of reading metaData from disk. Besides, all sensors' metadata of a device is in TsDeviceMetaData. In order to read the metadata of a sensor, we need to read the entire TsDeviceMetaData. In the current version, querying multiple sensors in a device simultaneously need to read TsDeviceMetaData multiple times, so consider caching TsDeviceMetaData.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services