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

Verify $indexStats works for queries that are eligible for cqf

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      $indexStats tells you how many times each index was used in a query. We need to make sure queries generated by Bonsai are included in these counts. (We don't need to support the $indexStats operator itself.)

      This may be working already; I'm not sure. With CQF enabled this assertion fails, but that could be because Bonsai is choosing a different plan which doesn't use the expected index.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: