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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • 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

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: