Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

Learn why MongoDB was selected as a leader in the 2024 Gartner® Magic Quadrant™
MongoDB Developer
Aggregation Framework
plus
Sign in to follow topics
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
Products
chevron-right
MongoDB
chevron-right

Articles

MongoDB Aggregation Framework, build aggregation pipelines to process multiple documents and return computed results.

All Aggregation Framework Articles
All Articles
search
  • Latestcheck
  • Highest Rated
Article

The cost of not knowing MongoDB (V5RX) - Part 2

Discover the power of MongoDB schema optimization in the second part of The Cost of Not Knowing MongoDB series. This deep dive explores the impact of different data modeling approaches, focusing on the Bucket Pattern and Computed Pattern to enhance query performance and storage efficiency. Learn how grouping data by month or quarter can significantly reduce index size and improve read operations, while pre-computing aggregations can optimize reporting. With real-world benchmarks, load test results, and practical TypeScript code, this guide demonstrates how strategic schema design can maximize MongoDB’s potential.
MongoDB thumbnail image
MongoDBAggregation FrameworkJavaScriptNode.js

Jan 29, 2025
Article

Wordle Solving Using MongoDB Query API Operators

Let’s learn a few MongoDB Query API operators while solving Wordle
M O N G O

Jun 09, 2023
Article

Aggregation Pipeline: Applying Benford's Law to COVID-19 Data

Using the MongoDB Aggregation Pipeline to apply Benford's law on the COVID-19 date set from Johns Hopkins University.
MongoDB thumbnail image

Jun 09, 2023