Aggregation with explain()

244 views
Skip to first unread message

Veera Kumar

unread,
Aug 3, 2015, 1:21:20 AM8/3/15
to mgo-users

I execute the follow mongodb command in mongo shell


db.coll.explain("executionStats").aggregate(...)

I can't find out
"executionStats" related details. But

execute find query it's show
"executionStats" details.

db.coll.explain("executionStats").find(...)

How can i find
executionStats in aggregation query.

Veera Kumar

unread,
Aug 3, 2015, 1:22:57 AM8/3/15
to mgo-users
I'm using mongo 3.0.5 version

Gustavo Niemeyer

unread,
Aug 18, 2015, 11:31:17 PM8/18/15
to mgo-...@googlegroups.com
Hi Veera,

The explain options are provided in the second document you provide to aggregate in the shell. I'm not sure if the additional verbosity modes are already supported there by now.

Please have a look here for details:




--
You received this message because you are subscribed to the Google Groups "mgo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages