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

Use uint64_t instead of RecordId in column index read path

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2022-07-11, QE 2022-07-25, QE 2022-08-08, QE 2022-08-22

      The column index uses "Row IDs" which are always 64 bit integers. Since we're guaranteed that Row IDs are 64 bit integers, we do not have to pay the cost of copying/passing around RecordIds on the read path.

      Eventually when we support clustered collections in column indexes, we will (very likely) map these Row IDs to the RecordId in a special part of the index.

      We will benchmark to get a rough idea of the performance improvement from this change.

            Assignee:
            parker.felix@mongodb.com Parker Felix
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: