Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reserve both chunk and page:

  • 3 Chunk and Page are 2 levels of index indexes in the whole one TsFile, Suitable for all kinds of query scenarios, whether aggregation query or raw data queryaggregation and time filter with different granularity.
  • Chunk is the unit for I/O and page is the unit for query, which could supply multiple levels of index
  • When one Chunk has multiple pages, this structure is better.

Reserve only page:

  • 2 levels of one level index in the wholeTsFileSimple structure, which could reduce one level of indexone TsFile.
  • Suitable for low frequency small Chunk (Mass Timeseries) scenario, in which 1 chunk has only 1~2 pages
    (Note: There has already been adapted structure for chunk statistics and page statistics from Since 0.12, If one Chunk has only one Page, then PageStatistics will be removed, we only store statistics in ChunkMetadata)


(III) Experiment about how to store PageHeader

...