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

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Sharding

      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}},
      }}
      
      

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

              Created:
              Updated:
              Resolved: