mongoqp icon indicating copy to clipboard operation
mongoqp copied to clipboard

Ungroup queries or see details ?

Open Anahkiasen opened this issue 11 years ago • 1 comments

Is there any way to see the details of a slow query ? Currently it only seems to show the first argument of the query — same thing for aggregated queries, would be nice to be able to see the details, see which query in particular may have messed up the medium response time.

Anahkiasen avatar Apr 12 '13 19:04 Anahkiasen

The results are aggregated, so there'd be no way to get back the original query. I don't follow what you mean by "first argument of the query" being the only thing shown. All fields in the query should be visible, not just the first; however, all values for field equalities or query operators are reduced to their JavaScript type. Except for perhaps regex queries, I'd think the actual values would not significantly affect the query performance if it's a matter of not have the appropriate indexes defined.

jmikola avatar Apr 12 '13 20:04 jmikola