Useful Links
Computer Science
Databases
MongoDB Database
1. Introduction to NoSQL and Document Databases
2. Getting Started with MongoDB
3. The MongoDB Data Model
4. CRUD Operations: Manipulating Data
5. Indexing for Performance
6. The Aggregation Framework
7. Transactions
8. Scalability and High Availability
9. Security in MongoDB
10. Administration and Ecosystem
The MongoDB Data Model
Fundamental Concepts
Databases
Database Creation and Deletion
Database Naming Conventions
Database-Level Operations
Storage Engine Considerations
Collections
Collection Creation and Deletion
Collection Naming Conventions
Capped Collections
Collection-Level Operations
Collection Options and Properties
Documents
Document Structure and Format
Document Size Limitations
Document Identifiers (_id)
ObjectId Generation
Custom _id Values
_id Uniqueness Requirements
Document Validation Rules
Document Structure
Fields and Values
Supported Data Types
Primitive Types
Complex Types
Special Types
Field Naming Conventions
Nested Fields and Subdocuments
Array Fields and Elements
Dot Notation for Embedded Documents and Arrays
Accessing Nested Fields
Querying Nested Data
Array Element Access
Positional Operators
Schema Design Principles
Dynamic and Flexible Schemas
Advantages of Schema Flexibility
Trade-Offs and Considerations
Schema Evolution Strategies
Schema Validation Options
JSON Schema Validation
Validation Rules and Actions
Validation Performance Impact
Data Modeling Patterns
Embedded Document Pattern
When to Embed Documents
Embedding Limitations
Pros and Cons Analysis
Referenced Document Pattern
When to Use References
Reference Implementation Strategies
Pros and Cons Analysis
Hybrid Approaches
Combining Embedding and Referencing
Pattern Selection Criteria
Modeling Relationships
One-to-One Relationships
Embedding Strategy
Referencing Strategy
Decision Criteria
One-to-Many Relationships
Embedding Arrays
Array Size Considerations
Referencing Collections
Parent vs Child References
Many-to-Many Relationships
Linking Collections with Arrays
Junction Collection Pattern
Bidirectional References
Query Optimization Strategies
Advanced Schema Design Considerations
Denormalization Strategies
Data Duplication Trade-offs
Query Pattern Analysis
Performance Optimization
Storage Efficiency
Previous
2. Getting Started with MongoDB
Go to top
Next
4. CRUD Operations: Manipulating Data