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
Categories Compass
Created by Guest
Created on Jul 4, 2023

Avoid running queries on an ongoing condition writing. (match, lookup...)

when performing a match, lookup or other similar ops, Don't run the query as I write the conditions but only when I'm done. this will improve speed significantly and will prevent crashes due to lack of memory on very large sets. when an operation that filters data occurs, you can add a small toggle btn when I'm done writing the query, and only then perform the search. another idea is to add a boolean field named done which on init will be set to false, and when a user is done writing the query it sets it last to true. the benefit of the field is it will be applicable also in text mode and not just stages. attached an example.
  • Attach files
  • Guest
    Jul 5, 2023
    In the aggregation builder, it is possible to disable the stage preview (see screenshot attached) and only enable it when you want to take a look at the results. Would that be a good way to solve your use case?