Centralize the COLLSCAN direction hinting mechanism

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently there are three means of forcing the desired direction scattered throughout the codebase:

      • $natural cursor hints - which uses the request object itself to determine the scan direction.
      • $natural query settings hints - which populate PlannerParameters::collscanDirection.
      • PlannerParameters::TraversalPreference - an internal hint used by timeseries to avoid blocking sorts.

            Assignee:
            Unassigned
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: