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

Index scans use complex key validation code for point bounds

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • 35

      For point bounds, index scans convert KeyStrings to BSON and still call into the expensive checkKey() codepath. We should avoid this extra work in the easy (and common) case where we have point bounds.

      In fact, we might be able to avoid this conversion in the general case too, if we wrote a key checker based on KeyString. We should investigate the effort of doing that.

            Assignee:
            zixuan.zhuang@mongodb.com Zixuan Zhuang
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: