With Data Modeling and Query Building Strategies
Buch, Englisch, 247 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 411 g
ISBN: 978-1-4842-4890-4
Verlag: Apress
MongoDB Recipes describes how to use advanced querying in MongoDB, such as indexing and the aggregation framework. It demonstrates how to use the Compass function, a GUI client interacting with MongoDB, and how to apply data modeling to your MongoDB application. You’ll see recipes on the latest features of MongoDB 4 allowing you to manage data in an efficient manner using MongoDB.
What You Will Learn
- Work with the MongoDB document model
- Design MongoDB schemas
- Use the MongoDB query language
- Harness the aggregation framework
- Create replica sets and sharding in MongoDB
Who This Book Is ForDevelopers and professionals who work with MongoDB.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Chapter 1: MongoDB Features and Installation
Chapter Goal: In this chapter, you will learn NoSQL databases, CAP theorem, MongoDB Features and MongoDB tools. This chapter will also cover installation of MongoDB and its associated tools.
Sub Topics:
NoSQL Databases and Categories
CAP Theorem
MongoDB Features
MongoDB Tools
Describe JSON and BSON
Installing MongoDB on Windows, Linux
MongoDB Terms
MongoDB Data Types
Chapter 2: CRUD Operations
Chapter Goal: In this chapter, you will learn how to perform CRUD operations with MongoDB. This chapter also help you to understand how to query embedded documents and arrays.
Sub Topics:
Basic CRUD operations
Query Embedded Documents
Query Arrays
Bulk Write Operations
Chapter 3: Data Modelling
Chapter Goal: In this chapter, you will learn schema design and various data modelling patterns in MongoDB.
Sub Topics:
Data Modelling Concepts
Data Model Patterns
Model Relationship between documents
Model Tree Structures
Chapter 4: Indexing and Aggregation FrameworkChapter Goal: In this chapter, you will learn indexes types and Aggregation Framework in MongoDB.
Sub Topics:
Introduction to indexes
Index Types
Creating Indexes
Introduction to Aggregation Framework
Aggregation Framework Types
Chapter 5: MongoDB Replication and Sharding
Chapter Goal: In this chapter, you will learn the replication set up and sharding set up.
Sub Topics:
Replication Concepts
Master Slave Replication
Replication Setup
Introduction to Sharding and concepts
Shard Setup
Types of Sharding
Chapter 6: MongoDB Transaction
Chapter Goal: In this chapter, you will learn transactions in MongoDB.
Sub Topics:
Atomicity
Multi-Document Transaction
Concurrency Control
Chapter 7: MongoDB Administration
Chapter Goal: In this chapter, you will learn Database Profiler, MongoDB Backup Methods and Monitoring MongoDB.
Sub Topics:
Database Profiler
MongoDB Backup Methods
Monitoring MongoDB
Chapter 8: MongoDB Security
Chapter Goal: In this chapter, you will learn security aspects of MongoDB.
Sub Topics:
Creating Users
Creating and Assigning custom roles
Authenticating Server



