Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-5189

Optimize the memory usage of fast compaction

    XMLWordPrintableJSON

Details

    • StorageEngine-Backlog

    Description

      Only read the chunks that need to be used into the memory each time, instead of reading all the overlapping chunks into the memory at once.

       

      In the past, all the chunks that overlap with the current chunk were read into the memory at one time, but now only the chunks that need to be used are read into the memory.
      For example: in the figure below, first read 1 into the memory, and then read 2 3 4 in sequence. At most two chunks can be stored in the memory at the same time instead of 4 chunks.

      Attachments

        Activity

          People

            ChouBenson 周沛辰
            ChouBenson 周沛辰
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: