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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2022-09-19, QE 2022-10-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Dianna Hohensee (Inactive)
              Reporter:
              Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: