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

Make algebra::transport faster

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

      In SERVER-78354 we changed the implementation of algebra::transport so that it can handle trees of any depth without a stack overflow. However, this also made it slower, even for small trees.

      Let's try making it faster. Some possibilities are:

      • Change the memory layout of TreeCursor, or of the boost::vector intermediate results.
      • Revert SERVER-78354 and solve the stack overflow (query_limits_test.js) a different way.

      Note that this is not a CQF-only change, because SBE stagebuilders use algebra::transport.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: