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

Use next() instead of seek() in column index stage when possible

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution
    • QE 2022-09-19, QE 2022-10-03

    Description

      There are a number of places in the column index stage where we call seek() unconditionally. In the special (and common) case where the cursor is positioned at the RID before the RID we'd seek to, we can call next() instead.

      Here's one place (for row store fallback).

      Here's another (used in parent path lookup).

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: