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 Completed
Created by Guest
Created on Nov 25, 2020

Option to group Profiler records by query pattern

The Profiler shows slow query statistics grouped by namespace, but it would also be helpful to view query records grouped by query pattern (perhaps similar to the "pattern" group option in mplotqueries: http://blog.rueckstiess.com/mtools/mplotqueries.html#group-by) and/or by specific fields used in the query. This could be helpful, for example, for identifying particular query shapes that are executing slowly or suboptimally so that these can be investigated in more detail.
  • ADMIN RESPONSE
    Oct 18, 2025
    We have recently shipped the Atlas Query Shape Insights feature for MongoDB Atlas clusters running version 8.0+. This groups similar queries by their shape and provides timeseries metrics to see how these query shapes perform over time. More information on this feature can be found via documentation ( https://www.mongodb.com/docs/atlas/query-shape-insights/ ).