[SERVER-16068] Add namespace to explain output Created: 11/Nov/14  Updated: 25/Jun/15  Resolved: 12/Dec/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 2.8.0-rc3

Type: Improvement Priority: Major - P3
Reporter: Kevin Pulo Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-4509 update to 2.8 explain output Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Sometimes when reviewing explain output that has been provided in isolation (of logfiles and/or the command(s) used to generate it), it can be difficult to confirm that the explain was run against the right db and/or collection.

Can the namespace please be added to the explain output? The rationale is basically the same as the addition of "serverInfo" to new style explains, ie. yes, this is info that is not directly what the user has asked for, but provides invaluable context for interpreting the rest of the results.

A top-level "ns" field as the first field would be great, and I expect it would fit in with both new and old style explains (and be straightforward to actually implement and test).



 Comments   
Comment by Githook User [ 12/Dec/14 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-16068 add namespace to explain output
Branch: master
https://github.com/mongodb/mongo/commit/a3ec06066d1db2e593744089cf17d93e5225131e

Generated at Thu Feb 08 03:39:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.