Alternte query plans

27 views
Skip to first unread message

Monika Shah

unread,
Sep 26, 2017, 12:41:50 PM9/26/17
to mongodb-dev
db.explain() shows one winning plan and only few rejected plans. Are these only rejected plans?

David Storch

unread,
Sep 26, 2017, 1:07:38 PM9/26/17
to mongodb-dev
Hi Monika,

Yes, those are all the rejected plans generated by the server. There are no plans which are considered but not reported (except for the issue described by SERVER-19350).

Best,
Dave

Monika Shah

unread,
Oct 1, 2017, 10:15:12 AM10/1/17
to mongodb-dev
 Thank you for clearing doubt. My next question is How can I trace source code during query execution?

David Storch

unread,
Oct 3, 2017, 10:22:29 AM10/3/17
to mongodb-dev
Hi Monika,

It sounds like this is the same question as the one you've asked here: https://groups.google.com/forum/#!topic/mongodb-dev/rt55wBWs5yw. Let's keep the discussion on that other thread.

Best,
Dave
Reply all
Reply to author
Forward
0 new messages