MongoDB data modeling : focus on data usage and better design schemas with the help of MongoDB /
This book is intended for database professionals, software developers, and architects who have some previous experience with MongoDB and now want to shift their focus to the concepts of data modeling. If you wish to develop better schema designs for MongoDB-based applications, this book is ideal for...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing Data Modeling; The relationship between MongoDB and NoSQL; Introducing NoSQL (Not Only SQL); NoSQL databases types; Dynamic schema, scalability, and redundancy; Database design and data modeling; The ANSI-SPARC architecture; The external level; The conceptual level; The internal level; Data modeling; The conceptual model; The logical model; The physical model; Summary; Chapter 2: Data Modeling with MongoDB
- Introducing documents and collectionsJSON; BSON; Characteristics of documents; The document size; Names and values for a field in a document; The document primary key; Support collections; The optimistic loop; Designing a document; Working with embedded documents; Working with references; Atomicity; Common document patterns; One-to-one; One-to-many; Many-to-many; Summary; Chapter 3: Querying Documents; Understanding the read operations; Selecting all documents; Selecting documents using criteria; Comparison operators; Logical operators; Element operators; Evaluation operators; Array operators
- ProjectionsIntroducing the write operations; Inserts; Updates; Write concerns; Unacknowledged; Acknowledged; Journaled; Replica acknowledged; Bulk writing documents; Summary; Chapter 4: Indexing; Indexing documents; Indexing a single field; Indexing more than one field; Indexing multi-key fields; Indexing for text search; Creating special indexes; Time to live indexes; Unique indexes; Sparse indexes; Summary; Chapter 5: Optimizing Queries; Understanding the query plan; Evaluating queries; Covering a query; The query optimizer; Reading from many MongoDB instances; Summary
- Chapter 6: Managing the DataOperational segregation; Giving priority to read operations; Capped collections; Data self-expiration; Summary; Chapter 7: Scaling; Scaling out MongoDB with sharding; Choosing the shard key; Basic concerns when choosing a shard key; Scaling a social inbox schema design; Fan out on read; Fan out on write; Fan out on write with buckets; Summary; Chapter 8: Logging and Real-time Analytics with MongoDB; Log data analysis; Error logs; Access logs; What we are looking for; Measuring the traffic on the web server; Designing the schema; Capturing an event request
- A one-document solutionTTL indexes; Sharding; Querying for reports; Summary; Index