MongoDB the definitive guide

This guide 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 and why MongoDB is scalable, high-performance, and reliable

Bibliographic Details
Main Author: Chodorow, Kristina
Other Authors: Dirolf, Michael
Format: eBook
Language:English
Published: Sebastopol, Calif. O'Reilly Media 2010
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Using ModifiersGetting started with the ""set"" modifier; Incrementing and decrementing; Array modifiers; Positional array modifications; Modifier speed; Upserts; The save Shell Helper; Updating Multiple Documents; Returning Updated Documents; The Fastest Write This Side of Mississippi; Safe Operations; Catching "Normal" Errors; Requests and Connections; Chapter 4. Querying; Introduction to find; Specifying Which Keys to Return; Limitations; Query Criteria; Query Conditionals; OR Queries; not; Rules for Conditionals; Type-Specific Queries; null; Regular Expressions; Querying Arrays; all
  • SizeThe slice operator; Querying on Embedded Documents; where Queries; Cursors; Limits, Skips, and Sorts; Comparison order; Avoiding Large Skips; Paginating results without skip; Finding a random document; Advanced Query Options; Getting Consistent Results; Cursor Internals; Chapter 5. Indexing; Introduction to Indexing; Scaling Indexes; Indexing Keys in Embedded Documents; Indexing for Sorts; Uniquely Identifying Indexes; Unique Indexes; Dropping Duplicates; Compound Unique Indexes; Using explain and hint; Index Administration; Changing Indexes; Geospatial Indexing
  • Schema-FreeNaming; Subcollections; Databases; Getting and Starting MongoDB; MongoDB Shell; Running the Shell; A MongoDB Client; Basic Operations with the Shell; Create; Read; Update; Delete; Tips for Using the Shell; Inconvenient collection names; Data Types; Basic Data Types; Numbers; Dates; Arrays; Embedded Documents; _id and ObjectIds; ObjectIds; Autogeneration of _id; Chapter 3. Creating, Updating, and Deleting Documents; Inserting and Saving Documents; Batch Insert; Inserts: Internals and Implications; Removing Documents; Remove Speed; Updating Documents; Document Replacement
  • Copyright; Table of Contents; Foreword; Preface; How This Book Is Organized; Getting Up to Speed with MongoDB; Developing with MongoDB; Advanced Usage; Administration; Developing Applications with MongoDB; Appendixes; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Acknowledgments from Kristina; Acknowledgments from Michael; Chapter 1. Introduction; A Rich Data Model; Easy Scaling; Tons of Features...; ...Without Sacrificing Speed; Simple Administration; But Wait, That's Not All...; Chapter 2. Getting Started; Documents; Collections
  • Compound Geospatial IndexesThe Earth Is Not a 2D Plane; Chapter 6. Aggregation; count; distinct; group; Using a Finalizer; Using a Function as a Key; MapReduce; Example 1: Finding All Keys in a Collection; Example 2: Categorizing Web Pages; MongoDB and MapReduce; The finalize function; Keeping output collections; MapReduce on a subset of documents; Using a scope; Getting more output; Chapter 7. Advanced Topics; Database Commands; How Commands Work; Command Reference; Capped Collections; Properties and Use Cases; Creating Capped Collections; Sorting Au Naturel; Tailable Cursors