Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Ryan Peggs
Created on Oct 29, 2025

Improve small collection lookup performance

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

Improved performance for lookups from large to small collections (where many origin documents match the same looked-up document(s))

What would you like to see happen?

Describe the desired outcome or enhancement.

Batching or cache (within a single aggregation execution), with support for sharding and transactions.

This is represented in some longstanding backlog tickets: SERVER-21284, SERVER-21312

Why is this important to you or your team?

Explain how the request adds value or solves a business need.


What steps, if any, are you taking today to manage this problem?

Slow lookups can be resolved via data-modelling (eg. nesting and duplicating) but this is sometimes not possible.