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

Remove unnecessary null byte from columnar storage format

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • QE 2022-09-19

      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%.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: