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

Optimize $listClusterCatalog followed by $match

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-12-23

      Optimize the $listClusterCatalog aggregation stage when it's immediately followed by a $match stage filtering the documents by 'db'.

      • If $match filters by 'db', we should only call the listCollections command for the databases that match the given query.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: