Mastering MongoDB 7.0 achieve data excellence by unlocking the full potential of MongoDB
Mastering MongoDB 7.0 explores the latest version of MongoDB, an exceptional NoSQL database solution that aligns with the needs of modern web applications. This book starts with an informative overview of MongoDB’s architecture and developer tools, guiding you through the process of connecting to da...
Otros Autores: | , , , , , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing Ltd
[2024]
|
Edición: | Fourth edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009810937106719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- Note from Author
- Table of Contents
- Preface
- Chapter 1: Introduction to MongoDB
- Who uses MongoDB?
- Why developers love MongoDB?
- Efficiency of the inherent complexity of MongoDB databases
- How is this possible?
- Summary
- Chapter 2: The MongoDB Architecture
- Replication vs sharding
- Replication
- Replica set elections
- Replica set oplog
- Replica set deployment architectures
- Write concern
- Read preference
- Read concern
- Replication methods
- Sharding
- Why do you need sharding?
- Key elements of a sharded cluster
- Microsharding
- Advantages of sharding
- Data distribution
- Chunks
- Chunk administration
- Querying sharded data
- Sharding methods
- New sharded cluster features in MongoDB 7.0
- Shard key advisor commands
- AutoMerger
- Command support without shard keys
- Summary
- Chapter 3: Developer Tools
- Technical requirements
- Introduction to developer tools
- Categories of developer tools
- MongoDB Shell
- Installation
- Connecting to a MongoDB deployment using mongosh
- mongosh vs legacy shell
- Key features of mongosh
- Use cases for mongosh
- Best practices for using mongosh
- MongoDB CLI
- Installation
- Configuration
- Working with MongoDB CLI
- mongocli auth
- Key features of MongoDB CLI
- Use cases for MongoDB CLI
- Best practices for MongoDB CLI
- MongoDB Compass
- Installation
- Configuration
- Visually explore data using Compass
- Key features of MongoDB Compass
- Use cases for MongoDB Compass
- Best practices for MongoDB Compass
- MongoDB for VS Code
- Installation
- Explore data using Playground
- Use Terraform to create an Atlas cluster
- Key features
- Use cases for the MongoDB for VS Code extension
- Best practices for the MongoDB for VS Code extension
- Summary
- Chapter 4: Connecting to MongoDB
- Connecting methods
- Connecting using Ruby
- Connecting using Python
- Connecting using PHP
- Connecting using Node.js
- Connecting using TypeScript
- Summary
- Chapter 5: CRUD Operations and Basic Queries
- Technical requirements
- MongoDB CRUD operations
- CRUD using mongosh
- Scripting for mongosh
- Batch inserts using mongosh
- Batch operations using mongosh
- CRUD using the Ruby driver
- Connecting to a database
- Creating documents
- Reading data
- Chaining operations in find()
- Nested operations
- Batch operations
- Mongoid ODM
- CRUD using the Python driver
- Inserting documents
- Finding documents
- Updating documents
- Deleting documents
- Regular expressions
- Administration
- currentOp() and killOp()
- collMod
- Secure access to MongoDB
- Authentication and authorization
- MongoDB Stable API
- Summary
- Chapter 6: Schema Design and Data Modeling
- Schema design for relational databases
- Normal forms
- Schema design for MongoDB
- Data modeling in MongoDB
- Document structure