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

Improve reference tracker to support incremental updates

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization
    • QO 2022-03-07

    Description

      When an ABT is modified during optimization, we currently recompute the dependencies for the entire tree, even for a simple modification. See this example during const eval, where we inline a variable and then we rebuild the variable environment from scratch.

      We should add the ability to incrementally update the ABT dependencies after a specific change, rather than recomputing the dependencies from scratch. This would make sure the variable environment doesn't go out of sync with the ABT, so we don't have to constantly account for it in our optimizations.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: