Description
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 MongoDB’s 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
CONTENTS:
Foreword; Preface; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Safari(R) Books Online; How to Contact Us; Acknowledgments; Chapter 1: Introduction; 1.1 A Rich Data Model; 1.2 Easy Scaling; 1.3 Tons of Features...; 1.4 ...Without Sacrificing Speed; 1.5 Simple Administration; 1.6 But Wait, That’s Not All...; Chapter 2: Getting Started; 2.1 Documents; 2.2 Collections; 2.3 Databases; 2.4 Getting and Starting MongoDB; 2.5 MongoDB Shell; 2.6 Data Types; Chapter 3: Creating, Updating, and Deleting Documents; 3.1 Inserting and Saving Documents; 3.2 Removing Documents; 3.3 Updating Documents; 3.4 The Fastest Write This Side of Mississippi; 3.5 Requests and Connections; Chapter 4: Querying; 4.1 Introduction to find; 4.2 Query Criteria; 4.3 Type-Specific Queries; 4.4 $where Queries; 4.5 Cursors; 4.6 Cursor Internals; Chapter 5: Indexing; 5.1 Introduction to Indexing; 5.2 Unique Indexes; 5.3 Using explain and hint; 5.4 Index Administration; 5.5 Geospatial Indexing; Chapter 6: Aggregation; 6.1 count; 6.2 distinct; 6.3 group; 6.4 MapReduce; Chapter 7: Advanced Topics; 7.1 Database Commands; 7.2 Capped Collections; 7.3 GridFS: Storing Files; 7.4 Server-Side Scripting; 7.5 Database References; Chapter 8: Administration; 8.1 Starting and Stopping MongoDB; 8.2 Monitoring; 8.3 Security and Authentication; 8.4 Backup and Repair; Chapter 9: Replication; 9.1 Master-Slave Replication; 9.2 Replica Sets; 9.3 Performing Operations on a Slave; 9.4 How It Works; 9.5 Administration; Chapter 10: Sharding; 10.1 Introduction to Sharding; 10.2 Autosharding in MongoDB; 10.3 The Key to Sharding: Shard Keys; 10.4 Setting Up Sharding; 10.5 Production Configuration; 10.6 Sharding Administration; Chapter 11: Example Applications; 11.1 Chemical Search Engine: Java; 11.2 News Aggregator: PHP; 11.3 Custom Submission Forms: Ruby; 11.4 Real-Time Analytics: Python; Installing MongoDB; Choosing a Version; Windows Install; POSIX (Linux, Mac OS X, and Solaris) Install; mongo: The Shell; Shell Utilities; MongoDB Internals; BSON; Wire Protocol; Data Files; Namespaces and Extents; Memory-Mapped Storage Engine; Colophon;
Published
05 Oct 2010
Publisher
O'REILLY & ASSOCIATES
ISBN
9781449381561
Pages
193




Static Book Details Index Page - Click Here to go to Computer Manuals Website