Index scans use complex key validation code for point bounds

XMLWordPrintableJSON

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

      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
              Reporter:
              Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: