Synopses & Reviews
How does MongoDB help you manage a huMONGOus amount of data collected through your web application? With this authoritative introduction, you'll learn the many advantages of using document-oriented databases, and discover why MongoDB is a reliable, high-performance system that allows for almost infinite horizontal scalability.
Written by engineers from 10gen, the company that develops and supports this open source database, MongoDB: The Definitive Guide 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. Learn how easy it is to handle data as self-contained JSON-style documents, rather than as records in a relational database.
- Explore ways that document-oriented storage will work for your project
- Learn how MongoDBs schema-free data model handles documents, collections, and multiple databases
- Execute basic write operations, and create complex queries to find data with any criteria
- Use indexes, aggregation tools, and other advanced query techniques
- Learn about monitoring, security and authentication, backup and repair, and more
- Set up master-slave and automatic failover replication in MongoDB
- Use sharding to scale MongoDB horizontally, and learn how it impacts applications
- Get example applications written in Java, PHP, Python, and Ruby
This is the only guide to CouchDB, an innovative, relatively simple, and highly praised database for handling routine document-based information. Apache CouchDB is a new "document-oriented" database that offers users an easier alternative to complex relational databases. Written by three of the core developers of CouchDB, this book provides web developers and other users with a step-by-step guide to the basics of storage and manipulation for document-based information such as contacts, invoices, and receipts.
Discover how MongoDB can help you manage a huMONGOus amount of data collected through your web application. This book covers the basic principles and advanced uses of this document-oriented database, and demonstrates why MongoDB is one of the fastest-growing databases.
Learn how MongoDB handles data as self-contained JSON-style documents, rather than as records in different relational database tables -- and why MongoDB is scalable, high-performance, and reliable. This authoritative introduction, written by two software engineers from the company that develops this open-source database, offers guidance for programmers and advanced configuration for system administrators. The opening chapters about concepts and use cases are ideal for others on the project.
- Explore the power and flexibility of document-oriented storage
- Learn to create, update, and delete documents in MongoDB
- Perform dynamic queries to find data with any criteria
- Learn advanced query techniques with aggregation tools and server-side scripting
- Get up to speed on security and authentication, backup and repair, and more
- Learn advanced configuration, such as replication and sharding
- Discover how to use MongoDB functions through real-world examples
Three of CouchDB's creators show you how to use this document-oriented database as a standalone application framework or with high-volume, distributed applications. With its simple model for storing, processing, and accessing data, CouchDB is ideal for web applications that handle huge amounts of loosely structured data. That alone would stretch the limits of a relational database, yet CouchDB offers an open source solution that's reliable, scales easily, and responds quickly.
CouchDB works with self-contained data that has loose or ad-hoc connections. It's a model that fits many real-world items, such as contacts, invoices, and receipts, but you'll discover that this database can easily handle data of any kind. With this book, you'll learn how to work with CouchDB through its RESTful web interface, and become familiar with key features such as simple document CRUD (create, read, update, delete), advanced MapReduce, deployment tuning, and more.
- Understand the basics of document-oriented storage and manipulation
- Interact with CouchDB entirely though HTTP using its RESTful interface
- Model data as self-contained JSON documents
- Handle evolving data schemas naturally
- Query and aggregate data in CouchDB using MapReduce views
- Replicate data between nodes
- Tune CouchDB for increased performance and reliability
About the Author
Kristina Chodorow is lead maintainer for the MongoDB PHP and Perl drivers. She wrote the official PHP driver and manages the PECL and CPAN releases. She currently works as a software engineer for 10gen in New York City, and gives talks at meetups and conferences around the world.
Mike Dirolf is a Software Engineer at 10gen, where he works on the MongoDB project. He mainly works on client drivers for Python and Ruby, but also takes time out to talk about MongoDB - he has spoken at EuroPython, Strange Loop Conf, RubyEnRails, RuPy and RubyConf, and at meetup groups in the U.S. and the U.K.
Table of Contents