MongoDB: The Definitive Guide: Powerful and Scalable Data Storage

Front Cover
"O'Reilly Media, Inc.", May 10, 2013 - Computers - 432 pages

Manage the huMONGOus amount of data collected through your web application with MongoDB. This authoritative introduction—written by a core contributor to the project—shows you the many advantages of using document-oriented databases, and demonstrates how this reliable, high-performance system allows for almost infinite horizontal scalability.

This updated second edition provides guidance for database developers, advanced configuration for system administrators, and an overview of the concepts and use cases for other people on your project. Ideal for NoSQL newcomers and experienced MongoDB users alike, this guide provides numerous real-world schema design examples.

  • Get started with MongoDB core concepts and vocabulary
  • Perform basic write operations at different levels of safety and speed
  • Create complex queries, with options for limiting, skipping, and sorting results
  • Design an application that works well with MongoDB
  • Aggregate data, including counting, finding distinct values, grouping documents, and using MapReduce
  • Gather and interpret statistics about your collections and databases
  • Set up replica sets and automatic failover in MongoDB
  • Use sharding to scale horizontally, and learn how it impacts applications
  • Delve into monitoring, security and authentication, backup/restore, and other administrative tasks

What people are saying - Write a review

LibraryThing Review

User Review  - albertgoldfain - LibraryThing

My main criticism of this book is that examples are not set up properly and none is worked out in any detail. Not bad as a whistle-stop tour of features, but online documentation is a better introduction to MongoDB. Read full review

User Review - Flag as inappropriate

Greate book, explains everything as the writer really knows the details. I like it


Part II Designing Your Application
Part III Replication
Part IV Sharding
Part V Application Administration
Part VI Server Administration
Appendix A Installing MongoDB
Appendix B MongoDB Internals
About the Author

Other editions - View all

Common terms and phrases

About the author (2013)

Kristina is a software engineer who worked on the MongoDB core for five years. She led MongoDB's replica set development as well as writing the PHP and Perl drivers. She has given talks on MongoDB at meetups and conferences around the world and maintains a blog on technical topics at http: // She currently works at Google.

Bibliographic information