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

Add warning/check mechanism to explain() output for old indexes and multikey

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Querying
    • None
    • Query Execution

    Description

      I've seen many cases of updating from 3.2 and hitting SERVER-15086. It's not obvious to look for a missing multiKeyPaths field in the output of explain()

      It would be great if explain() could include some heuristic checks (similar to startupWarnings in mongod) which look for common problems are report them in the output as warnings. Something like "Winning index needs to be rebuilt to benefit from SERVER-15086" would be great. 

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: