Database

  1. Supporting hashed fields in compound indexes and shard keys

    Hello,

    We have been using hashed keys to shard in regular clusters, they are useful for pre-sharding and keeping a balanced cluster without having to rely on the balancer.

    Global clusters and zone sharded clusters, we must use a compound shard key to identify both the zone and the shard key.

    MongoDB does not currently support compound shard keys containing hashed fields, making it cumbersome for us to use zone sharding.

    MongoDB could be improved by supporting hashed fields in compound keys.

    4 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Database

Categories

Feedback and Knowledge Base