Support uploading JSON "explain" output and render it visually
In cases where I don't have access to a DB (e.g., because its in production) I have to ask our devops team to run a query with an explain for me. It's not possible or practical to have that team to use Studio 3T so they just send me the raw JSON explain output. It'd be nice if there were a way for me to upload that output into Studio 3T and have Studio 3T render that visually for me.
1
vote
Nathaniel Mishkin
shared this idea
-
Wernfried Domscheit commented
With aggregation stage `$documents` (introduced in MongoDB version 5.1) you can do it like this:
db.aggregate([{ $documents: [<Your JSON explain document>] }])
-
Hi Nathaniel, this is really interesting, thanks! I've logged it for our team.
(Edited by admin)