Design and build solutions with the most powerful document database, MongoDB

Key Features

  • Learn from the experts about every new feature in MongoDB 6 and 5
  • Develop applications and administer clusters using MongoDB on premise or in the cloud
  • Explore code-rich case studies showcasing MongoDB's major features followed by best practices

Book Description

MongoDB is a leading non-relational database. This book covers all the major features of MongoDB including the latest version 6. MongoDB 6.x adds many new features and expands on existing ones such as aggregation, indexing, replication, sharding and MongoDB Atlas tools. Some of the MongoDB Atlas tools that you will master include Atlas dedicated clusters and Serverless, Atlas Search, Charts, Realm Application Services/Sync, Compass, Cloud Manager and Data Lake.

By getting hands-on working with code using realistic use cases, you will master the art of modeling, shaping and querying your data and become the MongoDB oracle for the business. You will focus on broadly used and niche areas such as optimizing queries, configuring large-scale clusters, configuring your cluster for high performance and availability and many more. Later, you will become proficient in auditing, monitoring, and securing your clusters using a structured and organized approach.

By the end of this book, you will have grasped all the practical understanding needed to design, develop, administer and scale MongoDB-based database applications both on premises and on the cloud.

What you will learn

  • Understand data modeling and schema design, including smart indexing
  • Master querying data using aggregation
  • Use distributed transactions, replication and sharding for better results
  • Administer your database using backups and monitoring tools
  • Secure your cluster with the best checklists and advice
  • Master MongoDB Atlas, Search, Charts, Serverless, Realm, Compass, Cloud Manager and other tools offered in the cloud or on premises
  • Integrate MongoDB with other big data sources
  • Design and deploy MongoDB in mobile, IoT and serverless environments

Who this book is for

This book is for MongoDB developers and database administrators who want to learn how to model their data using MongoDB in depth, for both greenfield and existing projects. An understanding of MongoDB, shell command skills and basic database design concepts is required to get the most out of this book.

Table of Contents

  1. Mastering MongoDB 6.x Third Edition
  2. Contributors
  3. About the author
  4. About the reviewers
  5. Preface
  6. Part 1 – Basic MongoDB – Design Goals and Architecture
  7. Chapter 1: MongoDB – A Database for the Modern Web
  8. Chapter 2: Schema Design and Data Modeling
  9. Part 2 – Querying Effectively
  10. Chapter 3: MongoDB CRUD Operations
  11. Chapter 4: Auditing
  12. Chapter 5: Advanced Querying
  13. Chapter 6: Multi-Document ACID Transactions
  14. Chapter 7: Aggregation
  15. Chapter 8: Indexing
  16. Part 3 – Administration and Data Management
  17. Chapter 9: Monitoring, Backup, and Security
  18. Chapter 10: Managing Storage Engines
  19. Chapter 11: MongoDB Tooling
  20. Chapter 12: Harnessing Big Data with MongoDB
  21. Part 4 – Scaling and High Availability
  22. Chapter 13: Mastering Replication
  23. Chapter 14: Mastering Sharding
  24. Chapter 15: Fault Tolerance and High Availability
  25. Index
  26. Other Books You May Enjoy