Make "prefer shorter indexes" code take presence of index bounds into account

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

      We have code here that assigns a higher cost to longer indexes even if the fields in those indexes carry bounds (which means they're actually doing work that save us from evaluating within the residual predicate). We should experiment with only assigning that incremental field cost if the field has no bounds.

            Assignee:
            Unassigned
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: