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

Index scans use complex key validation code for point bounds

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: