Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85750

Add BSONColumnBuilder fill constructor for skips

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      When a user inserts a measurement into a time-series collection that contains a field that does not exist for prior measurements, the compression code needs to create a new BSONColumnBuilder to represent the new data field. If there are already dozens or hundreds of measurements in the bucket, there will need to be dozens or hundreds of skips initialized in the new column.

      This API improves performance by not calling append() each time and checking if RLE is possible. Instead, it will set each RLE block directly and any other state required without calling append().

      Proposed shape of the API:

      BSONColumnBuilder(size_t numPrefixSkips); // fill ctor
      

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: