Optimize calculation of cardinality and frequency metrics in analyzeShardKey command against multi-shard collection using $_internalStreamGroup

XMLWordPrintableJSON

    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For a multi-shard collection (both sharded and unsharded), the analyzeShardKey command should use $_internalStreamGroup instead of $group for the first grouping stage as described here

            Assignee:
            Unassigned
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: