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

Remove more imprecise InternalExpr predicates in residual filters

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • 135

    Description

      SERVER-82570 changed the query planner to remove some InternalExpr predicates in residual filters, and changed the SBE stage builders to unconditionally compile them (rather than to an always true predicate).

      It turns out there are some common cases where InternalExpr expressions remain in the tree and get compiled, slowing down some filtering operations. We should make the rewrite more aggressive, to remove the imprecise predicates in more situations.

      Attachments

        Activity

          People

            ian.boros@mongodb.com Ian Boros
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: