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

Improve cost model for Filter and Evaluation nodes

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

      We calibrated first version of Cost Model with some simplifications in mind, one of them was that the cost of an ABT node depends on the number of incoming (processed) documents. As we highlighted in the design doc this assumption not correct for all ABT nodes.

      The following nodes can be relatively easy to improve:

      • Filter node - we need to take into account number of predicates in its expression
      • Evaluation node in case of simple projections (show/hide fields) by taking into account number of the fields.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: