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

Support for explaining query solution in the presence of hypothetical indexes

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query Optimization

    Description

      It would be useful to be able to ask the query planner to explain a query solution given some additional hypothetical index specification(s). This would allow a user to experiment with how a query would be planned with other indexes without needing to create those indexes.

      Something like, in the shell::

      find(...).explain().hypothesizing([indexSpec0, indexSpec1, ..., indexSpecn])

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated: