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

Remove unnecessary null byte from columnar storage format

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution
    • QE 2022-09-19

    Description

      For certain values in the columnar index, we store a BSONElement with an empty field name directly. The overhead of this empty field name is one byte (for the null terminator). There's no reason for us to store this null byte once per value, and for the case where many values are numeric/scalar, the space savings could be 10-20%.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: