mongo/src/mongo/db/query/README.md at master · mongodb/mongo
Disclaimer: This is a work in progress. It is not complete and we will do our best to complete it in a timely manner. The query system generally is responsible for interpreting the user's request, finding an optimal way to satisfy it, and to actually compute the results. It is primarily exposed through the find and aggregate commands, but also used in associated read commands like count, distinct, and mapReduce. Here we will divide it into the following phases and topics: In this documentation we focus on the process for a single node or replica set where all the data is expected to be found locally. We plan to add documentation for the sharded case in the src/mongo/s/query/ directory later. The following commands are generally maintained by the query team, with the majority of our focus given to the first two. The code path for each of these starts in a Command, named something like MapReduceCommand or FindCmd. You can generally find these in src/mongo/db/commands/. The first round of
Query System Internals Overview The query system is responsible for interpreting the user's request, finding an optimal way to satisfy it, and computing the final results. It is primarily exposed through the find and aggregate commands, but also used in associated read commands such as count, distinct, and mapReduce and write commands such as update, delete, and findAndModify. Query Optimization Architecture Guide The QO Architecture Guide provides an overview of the query system components maintained by the QO team, including parsing, heuristic rewrites, query planning, plan caching,…
saved by
related reading
- Queries - Mongoose v9.8.0mongoosejs.com
- NYSRGnotes.ekzhang.com
- Welcome to the MongoDB Docs - MongoDB Documentation - MongoDB Docsmongodb.com
- pthorpe92.devpthorpe92.dev
- The lifecycle of a sharded Postgres query — PlanetScaleplanetscale.com
- The vector database to build knowledgeable AI | Pineconepinecone.io
- Welcome to the MongoDB Docs - MongoDB Documentation - MongoDB Docsmongodb.com
- GitHub - donnemartin/system-design-primer: Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.github.com
- Readings in Database Systems, 5th Editionredbook.io
- Every query gets a receipt - The Consensustheconsensus.dev
- Redis Searchredis.io
- The key technologies behind SQL Comprehension | dbt Developer Blogdocs.getdbt.com