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

Record type of queries (targeted=1 shard, and #-shards) on each mongos in ServerStatus

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • Diagnostics, Sharding

    Description

      When optimizing the performance of a sharded system, a lot of times you would want to make sure that most (ideally all) your queries are targeted, or how many shards are queried.

      An example section might look like this:

      { query: {
        { byShards: {"1": XX, "2":XX, "2":XX, .... }},
        { configDB: {reload:XX, partial:XX}},
      }}
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alex.komyagin@mongodb.com Alexander Komyagin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: