MongoDB the definitive guide
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...
Otros Autores: | , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol :
O'Reilly
[2010]
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628444906719 |
Tabla de Contenidos:
- 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
- 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
- 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
- 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
- GridFS: Storing Files