From e1e7b416c3b212b03eaca8cb4fd9e0561e601c6b Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 27 Jun 2025 16:48:08 +0100 Subject: [PATCH] Add missing content --- .../mongodb/content/elastic-search@kJJ-W6BV1ofIvuFT_PCcz.md | 4 +++- .../roadmaps/mongodb/content/exclude@nk0V3o3oKuIb8A0gDECFJ.md | 4 +++- .../mongodb/content/expiring@butGgZXGPTZI-sWx24bOr.md | 4 +++- .../roadmaps/mongodb/content/include@sxDyp3bP-YhgmDMVUFTaA.md | 4 +++- .../mongodb/content/javascript@UXO5i6nPa5CRW1z7FAn_S.md | 4 +++- .../mongodb/content/language-drivers@73REfcB_T0yBP-KQ0EYmF.md | 4 +++- .../mongodb/content/ldap-proxy-auth@NoDNdno9UOlMrOC0Wga9E.md | 4 +++- .../mongodb/content/mongodb-audit@w1L-yFBM2AyeNBFyH5skW.md | 4 +++- .../pipelines-stages-and-operators@eDks8Jmsbq3_nHgLydyxP.md | 4 +++- .../roadmaps/mongodb/content/project@dO2mJejkWBH903LG0dWgN.md | 4 +++- .../content/query-optimization@4L9UQ4oaaK3wZwOLIMa6T.md | 4 +++- .../content/queryable-encryption@LpfuM6SuhlNNjBcHM68ee.md | 4 +++- .../content/retryable-reads--writes@s8El0Q22GD_rOZGlDtkgH.md | 4 +++- .../role-based-access-control@yRJ6jeysFXBpwLEqvrdKk.md | 4 +++- .../content/tls--ssl-encryption@5F7zAAnvnVTTnBzOB7TSu.md | 4 +++- .../content/tuning-configuration@iVDxuERBjKMBHueEfqP0x.md | 4 +++- .../mongodb/content/validate@4h8NdcdXmNqJxLkVJqPtX.md | 4 +++- .../content/when-to-use-mongodb@qh8MEbXKPVt8mqlarhUj0.md | 4 +++- 18 files changed, 54 insertions(+), 18 deletions(-) diff --git a/src/data/roadmaps/mongodb/content/elastic-search@kJJ-W6BV1ofIvuFT_PCcz.md b/src/data/roadmaps/mongodb/content/elastic-search@kJJ-W6BV1ofIvuFT_PCcz.md index f765be470..097f151f4 100644 --- a/src/data/roadmaps/mongodb/content/elastic-search@kJJ-W6BV1ofIvuFT_PCcz.md +++ b/src/data/roadmaps/mongodb/content/elastic-search@kJJ-W6BV1ofIvuFT_PCcz.md @@ -1 +1,3 @@ -# Elastic Search \ No newline at end of file +# Elastic Search + +The MongoDB Elasticsearch connector enables seamless integration between MongoDB and Elasticsearch, allowing you to automatically synchronize data from MongoDB collections to Elasticsearch indices for powerful full-text search, analytics, and visualization capabilities. This connector streams data changes in real-time using MongoDB's change streams, transforms documents as needed, and maintains data consistency between the two systems, making it ideal for applications that need both MongoDB's flexible document storage and Elasticsearch's advanced search and aggregation features. It's particularly useful for building search-heavy applications, log analytics systems, and business intelligence dashboards that require complex text search, faceted search, and real-time data analysis capabilities. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/exclude@nk0V3o3oKuIb8A0gDECFJ.md b/src/data/roadmaps/mongodb/content/exclude@nk0V3o3oKuIb8A0gDECFJ.md index 575036034..12c56ee84 100644 --- a/src/data/roadmaps/mongodb/content/exclude@nk0V3o3oKuIb8A0gDECFJ.md +++ b/src/data/roadmaps/mongodb/content/exclude@nk0V3o3oKuIb8A0gDECFJ.md @@ -1 +1,3 @@ -# $exclude \ No newline at end of file +# $exclude + +The $exclude projection operator in MongoDB is used to explicitly exclude specific fields from query results, allowing you to return all fields of a document except those that are explicitly excluded. When using $exclude, you specify which fields to omit by setting them to 0 or false in the projection document, and all other fields will be automatically included in the result set. This operator is particularly useful when you want to retrieve most of a document's data while excluding sensitive information like passwords, internal metadata, or large fields that are not needed for a particular operation, helping reduce network bandwidth and improve query performance by transferring only the necessary data. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/expiring@butGgZXGPTZI-sWx24bOr.md b/src/data/roadmaps/mongodb/content/expiring@butGgZXGPTZI-sWx24bOr.md index 7dfd8ea93..af7e92f8a 100644 --- a/src/data/roadmaps/mongodb/content/expiring@butGgZXGPTZI-sWx24bOr.md +++ b/src/data/roadmaps/mongodb/content/expiring@butGgZXGPTZI-sWx24bOr.md @@ -1 +1,3 @@ -# Expiring \ No newline at end of file +# Expiring + +Expiring indexes (TTL - Time To Live) in MongoDB automatically delete documents from a collection after a specified period, making them ideal for managing time-sensitive data like session information, log entries, temporary caches, or any data that becomes obsolete after a certain duration. These indexes are created on date fields and use a background process that runs every 60 seconds to remove expired documents, helping maintain optimal collection size and performance by preventing the accumulation of outdated data. TTL indexes are particularly useful for applications that generate large volumes of transient data, as they provide an automated cleanup mechanism that reduces storage costs and improves query performance without requiring manual intervention or complex application logic to handle data expiration. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/include@sxDyp3bP-YhgmDMVUFTaA.md b/src/data/roadmaps/mongodb/content/include@sxDyp3bP-YhgmDMVUFTaA.md index c9a416a6d..b3c5e7d37 100644 --- a/src/data/roadmaps/mongodb/content/include@sxDyp3bP-YhgmDMVUFTaA.md +++ b/src/data/roadmaps/mongodb/content/include@sxDyp3bP-YhgmDMVUFTaA.md @@ -1 +1,3 @@ -# $include \ No newline at end of file +# $include + +The $include projection operator in MongoDB allows you to explicitly specify which fields should be included in query results, providing precise control over the data returned from the database. When using $include (or simply setting fields to 1 or true in a projection document), only the specified fields and the _id field (unless explicitly excluded) will be present in the returned documents, which helps reduce network traffic, improve query performance, and enhance security by limiting data exposure. This operator is essential for optimizing applications that only need specific fields from large documents, especially in scenarios where documents contain many fields or large nested objects that would unnecessarily consume bandwidth and processing resources. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/javascript@UXO5i6nPa5CRW1z7FAn_S.md b/src/data/roadmaps/mongodb/content/javascript@UXO5i6nPa5CRW1z7FAn_S.md index c6f121e96..84802e0f0 100644 --- a/src/data/roadmaps/mongodb/content/javascript@UXO5i6nPa5CRW1z7FAn_S.md +++ b/src/data/roadmaps/mongodb/content/javascript@UXO5i6nPa5CRW1z7FAn_S.md @@ -1 +1,3 @@ -# JavaScript \ No newline at end of file +# JavaScript + +The JavaScript data type in MongoDB allows you to store JavaScript code as BSON values within documents, enabling the execution of server-side JavaScript functions for operations like map-reduce, stored procedures, and complex data transformations. This type can store JavaScript functions or code snippets that can be executed within the MongoDB server environment, making it useful for scenarios where you need to perform complex calculations, business logic, or custom aggregation operations directly on the database server. However, the JavaScript type is primarily legacy functionality and is generally discouraged in modern MongoDB applications due to security concerns and performance implications, with the aggregation framework being the preferred approach for complex data processing tasks that previously required server-side JavaScript execution. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/language-drivers@73REfcB_T0yBP-KQ0EYmF.md b/src/data/roadmaps/mongodb/content/language-drivers@73REfcB_T0yBP-KQ0EYmF.md index 8798c6c48..51d2557db 100644 --- a/src/data/roadmaps/mongodb/content/language-drivers@73REfcB_T0yBP-KQ0EYmF.md +++ b/src/data/roadmaps/mongodb/content/language-drivers@73REfcB_T0yBP-KQ0EYmF.md @@ -1 +1,3 @@ -# Language Drivers \ No newline at end of file +# Language Drivers + +MongoDB language drivers are official and community-maintained libraries that provide idiomatic APIs for interacting with MongoDB databases from various programming languages including Python (PyMongo), JavaScript/Node.js, Java, C#, Go, PHP, Ruby, and many others. These drivers handle the low-level communication protocols, connection management, authentication, and data serialization between applications and MongoDB servers, while providing language-specific features like object mapping, connection pooling, and async/await support. They abstract away the complexity of the MongoDB wire protocol and BSON encoding, allowing developers to work with MongoDB using familiar programming patterns and data structures native to their chosen language, making database integration seamless and efficient. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/ldap-proxy-auth@NoDNdno9UOlMrOC0Wga9E.md b/src/data/roadmaps/mongodb/content/ldap-proxy-auth@NoDNdno9UOlMrOC0Wga9E.md index 8ddd01f81..87047169a 100644 --- a/src/data/roadmaps/mongodb/content/ldap-proxy-auth@NoDNdno9UOlMrOC0Wga9E.md +++ b/src/data/roadmaps/mongodb/content/ldap-proxy-auth@NoDNdno9UOlMrOC0Wga9E.md @@ -1 +1,3 @@ -# LDAP Proxy Auth \ No newline at end of file +# LDAP Proxy Auth + +LDAP Proxy Authentication in MongoDB allows the database to authenticate users through an external LDAP (Lightweight Directory Access Protocol) server, enabling organizations to integrate MongoDB with their existing directory services like Active Directory. This authentication method acts as a proxy between MongoDB and the LDAP server, allowing users to authenticate using their corporate credentials while maintaining centralized user management, making it particularly valuable for enterprise environments that need to enforce consistent security policies and user access controls across multiple systems. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/mongodb-audit@w1L-yFBM2AyeNBFyH5skW.md b/src/data/roadmaps/mongodb/content/mongodb-audit@w1L-yFBM2AyeNBFyH5skW.md index b20e37856..223c04c2e 100644 --- a/src/data/roadmaps/mongodb/content/mongodb-audit@w1L-yFBM2AyeNBFyH5skW.md +++ b/src/data/roadmaps/mongodb/content/mongodb-audit@w1L-yFBM2AyeNBFyH5skW.md @@ -1 +1,3 @@ -# MongoDB Audit \ No newline at end of file +# MongoDB Audit + +MongoDB Audit is a security feature that enables comprehensive logging and monitoring of database activities, including authentication attempts, authorization failures, CRUD operations, and administrative actions. It provides detailed audit trails that track who accessed what data, when operations occurred, and whether they succeeded or failed, which is essential for compliance with regulatory requirements like GDPR, HIPAA, or SOX, and helps organizations detect suspicious activities, investigate security incidents, and maintain accountability in their database operations. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/pipelines-stages-and-operators@eDks8Jmsbq3_nHgLydyxP.md b/src/data/roadmaps/mongodb/content/pipelines-stages-and-operators@eDks8Jmsbq3_nHgLydyxP.md index 899527596..252b1ef62 100644 --- a/src/data/roadmaps/mongodb/content/pipelines-stages-and-operators@eDks8Jmsbq3_nHgLydyxP.md +++ b/src/data/roadmaps/mongodb/content/pipelines-stages-and-operators@eDks8Jmsbq3_nHgLydyxP.md @@ -1 +1,3 @@ -# Pipelines, Stages and Operators \ No newline at end of file +# Pipelines, Stages and Operators + +MongoDB aggregation pipelines are composed of sequential stages that process and transform documents, where each stage performs a specific operation using various operators before passing results to the next stage. Stages like $match (filtering), $group (grouping and aggregating), $project (field selection and transformation), $sort (ordering), $lookup (joins), and $unwind (array expansion) can be combined in any order to create complex data processing workflows. Operators within these stages include arithmetic operators ($add, $multiply), comparison operators ($eq, $gt), array operators ($push, $addToSet), date operators ($dateToString, $year), and conditional operators ($cond, $ifNull), providing a powerful and flexible framework for data analysis, reporting, and ETL operations directly within the database. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/project@dO2mJejkWBH903LG0dWgN.md b/src/data/roadmaps/mongodb/content/project@dO2mJejkWBH903LG0dWgN.md index d71f3759a..9237327b4 100644 --- a/src/data/roadmaps/mongodb/content/project@dO2mJejkWBH903LG0dWgN.md +++ b/src/data/roadmaps/mongodb/content/project@dO2mJejkWBH903LG0dWgN.md @@ -1 +1,3 @@ -# $project \ No newline at end of file +# $project + +The $project stage in MongoDB aggregation pipelines is used to reshape documents by including, excluding, or transforming fields, allowing you to control exactly which data is passed to subsequent pipeline stages. It can perform field selection (similar to SQL SELECT), create computed fields using expressions, rename fields, nest or flatten document structures, and apply various transformations like mathematical operations, string manipulations, or date formatting. The $project stage is essential for optimizing pipeline performance by reducing document size early in the pipeline, creating derived fields for analysis, formatting output for client applications, and controlling data exposure by excluding sensitive fields, making it one of the most versatile and commonly used aggregation operators. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/query-optimization@4L9UQ4oaaK3wZwOLIMa6T.md b/src/data/roadmaps/mongodb/content/query-optimization@4L9UQ4oaaK3wZwOLIMa6T.md index 99db0dbad..d96be0b86 100644 --- a/src/data/roadmaps/mongodb/content/query-optimization@4L9UQ4oaaK3wZwOLIMa6T.md +++ b/src/data/roadmaps/mongodb/content/query-optimization@4L9UQ4oaaK3wZwOLIMa6T.md @@ -1 +1,3 @@ -# Query Optimization \ No newline at end of file +# Query Optimization + +Query optimization in MongoDB involves analyzing and improving query performance through various techniques including proper indexing strategies, query plan analysis, and efficient query structure design. It encompasses understanding how MongoDB's query planner works, using tools like explain() to analyze query execution, creating appropriate indexes to support common query patterns, avoiding inefficient operations like full collection scans, and structuring queries to take advantage of MongoDB's document model and aggregation framework for optimal performance and resource utilization. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/queryable-encryption@LpfuM6SuhlNNjBcHM68ee.md b/src/data/roadmaps/mongodb/content/queryable-encryption@LpfuM6SuhlNNjBcHM68ee.md index cbde124a7..dfa065436 100644 --- a/src/data/roadmaps/mongodb/content/queryable-encryption@LpfuM6SuhlNNjBcHM68ee.md +++ b/src/data/roadmaps/mongodb/content/queryable-encryption@LpfuM6SuhlNNjBcHM68ee.md @@ -1 +1,3 @@ -# Queryable Encryption \ No newline at end of file +# Queryable Encryption + +Queryable Encryption is MongoDB's advanced security feature that allows you to encrypt sensitive data while still being able to query it efficiently without decrypting the entire dataset. This cryptographic technique enables applications to perform equality queries on encrypted fields using deterministic encryption and range queries using order-preserving encryption, providing a balance between data security and functionality. It's particularly valuable for applications that need to comply with strict data protection regulations while maintaining the ability to search and filter encrypted data, such as healthcare systems handling patient records or financial applications managing sensitive transaction data. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/retryable-reads--writes@s8El0Q22GD_rOZGlDtkgH.md b/src/data/roadmaps/mongodb/content/retryable-reads--writes@s8El0Q22GD_rOZGlDtkgH.md index a48e756ce..1e168c833 100644 --- a/src/data/roadmaps/mongodb/content/retryable-reads--writes@s8El0Q22GD_rOZGlDtkgH.md +++ b/src/data/roadmaps/mongodb/content/retryable-reads--writes@s8El0Q22GD_rOZGlDtkgH.md @@ -1 +1,3 @@ -# Retryable Reads / Writes \ No newline at end of file +# Retryable Reads / Writes + +Retryable reads and writes in MongoDB are client-side features that automatically retry certain database operations when they encounter transient network errors or temporary server unavailability, improving application resilience and user experience. The MongoDB drivers can automatically retry read operations and specific write operations (like inserts, updates, deletes, and findAndModify) exactly once when they fail due to network issues, replica set elections, or other recoverable errors, without requiring changes to application code. This feature is particularly valuable in distributed environments, cloud deployments, and replica set configurations where temporary connectivity issues or failover events are common, as it reduces the likelihood of application errors and provides a better user experience by handling transient failures transparently. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/role-based-access-control@yRJ6jeysFXBpwLEqvrdKk.md b/src/data/roadmaps/mongodb/content/role-based-access-control@yRJ6jeysFXBpwLEqvrdKk.md index ec2bad602..649b804ea 100644 --- a/src/data/roadmaps/mongodb/content/role-based-access-control@yRJ6jeysFXBpwLEqvrdKk.md +++ b/src/data/roadmaps/mongodb/content/role-based-access-control@yRJ6jeysFXBpwLEqvrdKk.md @@ -1 +1,3 @@ -# Role-based Access Control \ No newline at end of file +# Role-based Access Control + +Role-Based Access Control (RBAC) in MongoDB is a security framework that manages user permissions by assigning roles that define specific privileges and access levels to database resources. It allows administrators to create custom roles with granular permissions for actions like read, write, or administrative operations on specific databases, collections, or even individual fields, ensuring users only have access to the resources they need for their job functions. This approach simplifies security management by grouping permissions into logical roles rather than managing individual user permissions, making it easier to maintain consistent security policies and comply with the principle of least privilege in enterprise environments. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/tls--ssl-encryption@5F7zAAnvnVTTnBzOB7TSu.md b/src/data/roadmaps/mongodb/content/tls--ssl-encryption@5F7zAAnvnVTTnBzOB7TSu.md index f934cbe3f..2890b9afe 100644 --- a/src/data/roadmaps/mongodb/content/tls--ssl-encryption@5F7zAAnvnVTTnBzOB7TSu.md +++ b/src/data/roadmaps/mongodb/content/tls--ssl-encryption@5F7zAAnvnVTTnBzOB7TSu.md @@ -1 +1,3 @@ -# TLS / SSL Encryption \ No newline at end of file +# TLS / SSL Encryption + +TLS/SSL encryption in MongoDB provides secure communication channels between clients and the database server, as well as between replica set members and sharded cluster components, ensuring that data transmitted over networks is protected from eavesdropping and tampering. This transport layer security encrypts all network traffic using industry-standard cryptographic protocols, supports certificate-based authentication for enhanced security, and can be configured for mutual authentication where both client and server verify each other's identities. Implementing TLS/SSL is essential for production deployments, especially in cloud environments or when MongoDB instances communicate across untrusted networks, as it prevents man-in-the-middle attacks and ensures data confidentiality during transmission. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/tuning-configuration@iVDxuERBjKMBHueEfqP0x.md b/src/data/roadmaps/mongodb/content/tuning-configuration@iVDxuERBjKMBHueEfqP0x.md index 8805ed190..fbf28323d 100644 --- a/src/data/roadmaps/mongodb/content/tuning-configuration@iVDxuERBjKMBHueEfqP0x.md +++ b/src/data/roadmaps/mongodb/content/tuning-configuration@iVDxuERBjKMBHueEfqP0x.md @@ -1 +1,3 @@ -# Tuning Configuration \ No newline at end of file +# Tuning Configuration + +MongoDB tuning configuration involves optimizing various server parameters and settings to maximize performance, efficiency, and resource utilization based on your specific workload patterns and hardware environment. Key configuration areas include memory management (WiredTiger cache size, storage engine settings), connection pooling (maximum connections, timeout values), journaling options, read/write concerns, chunk size for sharded clusters, and operating system-level optimizations like file descriptor limits and memory allocation. Proper tuning requires analyzing metrics like query performance, memory usage, disk I/O patterns, and network throughput to adjust parameters such as index builds, background operations, and replication lag, ensuring your MongoDB deployment can handle peak loads while maintaining optimal response times and resource efficiency. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/validate@4h8NdcdXmNqJxLkVJqPtX.md b/src/data/roadmaps/mongodb/content/validate@4h8NdcdXmNqJxLkVJqPtX.md index 3e58fe502..54fb3f27f 100644 --- a/src/data/roadmaps/mongodb/content/validate@4h8NdcdXmNqJxLkVJqPtX.md +++ b/src/data/roadmaps/mongodb/content/validate@4h8NdcdXmNqJxLkVJqPtX.md @@ -1 +1,3 @@ -# validate() \ No newline at end of file +# validate() + +The validate() method in MongoDB is a database administration command that checks the integrity and consistency of a collection's data structures, indexes, and storage format, providing detailed information about potential corruption, missing records, or structural issues. This method performs comprehensive validation by examining the collection's namespace, scanning all documents and indexes for consistency, checking BSON document structure validity, and verifying that index entries correctly correspond to their associated documents. The validate() operation is crucial for database maintenance and troubleshooting, especially after hardware failures, unexpected shutdowns, or when experiencing unusual query behavior, as it helps identify data corruption early and provides detailed reports that can guide repair operations or data recovery procedures. \ No newline at end of file diff --git a/src/data/roadmaps/mongodb/content/when-to-use-mongodb@qh8MEbXKPVt8mqlarhUj0.md b/src/data/roadmaps/mongodb/content/when-to-use-mongodb@qh8MEbXKPVt8mqlarhUj0.md index e46b52a76..bafdab26f 100644 --- a/src/data/roadmaps/mongodb/content/when-to-use-mongodb@qh8MEbXKPVt8mqlarhUj0.md +++ b/src/data/roadmaps/mongodb/content/when-to-use-mongodb@qh8MEbXKPVt8mqlarhUj0.md @@ -1 +1,3 @@ -# When to use MongoDB? \ No newline at end of file +# When to use MongoDB? + +MongoDB is ideal for applications that require flexible schema design, rapid development cycles, and need to handle large volumes of unstructured or semi-structured data. It's particularly well-suited for content management systems, real-time analytics, IoT applications, mobile app backends, and scenarios where you need to scale horizontally across multiple servers, making it an excellent choice when your data model is likely to evolve frequently or when you're dealing with complex nested data structures that don't fit well into traditional relational database tables. \ No newline at end of file