Book Image

MongoDB High Availability

By : Afshin Mehrabani
Book Image

MongoDB High Availability

By: Afshin Mehrabani

Overview of this book

Table of Contents (17 chapters)
MongoDB High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Sharding in Action

In the previous chapters, we learned the basic terms of sharding in MongoDB. Also, we discussed the replica set feature and how it can be used in action and real-world examples. Now, we know enough and can establish sharding on an existing database or single collection. In this chapter, we will connect different machines together, enable the sharding feature on a database, and see the results using screenshots and pictures.