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

Make analyzeShardKey command return the frequency of top 5 most common shard key values instead of percentiles

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03, Sharding NYC 2023-04-17

      From the design:

      mostCommonValues: [
            // Top 5 most common shard key values. To avoid exceeding the 16MB
            // limit for the response, the values would be truncated if they
            // exceed a certain size.
            {value: <shardkey>, frequency: <integer>},
            ...
      ]
      

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: