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

Evaluate $sample distributive properties when partitioning shard key space

    • Cluster Scalability

      As a precondition for SERVER-68050, it would be good to perform some testing of the sampling behavior to see if/how much more skewed the data distribution would end up between shards if we were to initially create only 1 chunk per shard. Since sampling is not exactly splitting the shard key space in even parts, the theory is that having more chunks better "spreads the risk" because distributing several heterogeneously sized chunks we may end up having a more balanced distribution.

      Some experiments with a lot of chunks have shown >10GB of difference between shards with a global collection size of 500GB.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: