Where the open source database community meets: Use code PERCONA75 and secure your spot for Percona Live.  Register

Unlocking the Mystery of MongoDB Shard Key Selection

Do You Know How to Choose the Right MongoDB Shard Key for Your Business?

In our upcoming panel, Percona MongoDB experts Mike GraysonKimberly Wilkins, and Vinicius Grippa will discuss the complex issue of MongoDB shard key selection and offer advice on the measures to take if things go wrong.

Selecting the right shard key is one of the most important MongoDB design decisions you make, as it impacts performance and data management. Choosing the wrong shard key can have a disastrous effect on both.

MongoDB 5.0 is due to be released this summer, and it is likely to include another big change around sharding. Following last year’s 4.4 release that included refinable shard keys, we expect to see a new feature that allows for fully changeable shard keys for the first time.  

But, even with refinable and changeable options, shard key selection will continue to be a crucial MongoDB task.

Join us for the panel, where Mike, Kimberly, and Vinicius will highlight some of the perils and pitfalls to avoid, as well as offering shard key best practices such as:

  • Factors to consider when selecting your shard key
  • Hidden “gotcha’s” around shard selection and architecture
  • Examples of the worst shard keys our experts have seen
  • What happens when you have a busted shard key, and how you can mitigate the impact
  • What’s happening “under MongoDB’s hood” with all the changes?
  • The future of shard keys for MongoDB

About the Author

Mike Grayson

MongoDB DBA  

Kimberly Wilkins

MongoDB Technical Lead  

Vinicius Grippa

Vinicius joined Percona Support Engineer team in 2017. Vinicius has a Bachelor’s degree in Computer Science. He has a passion for technology and databases systems. In the free time, like to watch movies and is a fan of Lord of the Rings.  

Subscribe to the
Percona Newsletter

Subscribe Now!

From August 2, 2021, you will no longer be able to purchase Percona’s market-leading database Support as a per month/per server subscription through the online store. For guidance on Percona Support options, including how much you can save with an annual contract, please contact us directly.

Far
Enough.

Said no pioneer ever.
MySQL, PostgreSQL, InnoDB, MariaDB, MongoDB and Kubernetes are trademarks for their respective owners.
© 2026 Percona All Rights Reserved