Optimize calculation of cardinality, frequency and monotonicity metrics in analyzeShardKey command against single-shard collection

XMLWordPrintableJSON

    • Cluster Scalability
    • Cluster Scalability Priorities
    • 5
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For a single-shard collection (both sharded and unsharded), the analyzeShardKey command should calculate the cardinality/frequency and monotonicity metrics simultaneously instead of separately and using a single local index scan and streaming algorithms as described here. This should be most of the cases since resharding is not common.

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

              Created:
              Updated: