[SERVER-10565] Re-implement explain() for new execution engine Created: 19/Aug/13  Updated: 02/Aug/18  Resolved: 11/Oct/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Task Priority: Major - P3
Reporter: hari.khalsa@10gen.com Assignee: hari.khalsa@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-11889 Add new plan stats to explain output Closed
Related
related to SERVER-7945 use plan ordering when reporting "win... Closed
Participants:

 Comments   
Comment by auto [ 10/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Support explaining $or queries.
Branch: master
https://github.com/mongodb/mongo/commit/c7cc79f0cae037bd1d94ed2693dd9bc345c5433d

Comment by auto [ 03/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Have projection collect detailed stats.
Branch: master
https://github.com/mongodb/mongo/commit/88848ea94aaedf17f9b7f46631231d95b9a46038

Comment by auto [ 02/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Fix Win64 compile (take 2).
Branch: master
https://github.com/mongodb/mongo/commit/c5f3e652908f1a6aa906f111c190fec7f7702a27

Comment by auto [ 02/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Fix Win64 compile.
Branch: master
https://github.com/mongodb/mongo/commit/8318950d68d0b1f5e1390ac8c419512ca788ecda

Comment by auto [ 02/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Appease lint.
Branch: master
https://github.com/mongodb/mongo/commit/d423807c7b136c0d74e83fd45e3701c37b799506

Comment by auto [ 02/Oct/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Extract explain information from new stages.
Branch: master
https://github.com/mongodb/mongo/commit/95e54e3cfc433d5ae016aecf95dbded8ae58b8a5

Comment by auto [ 20/Sep/13 ]

Author:

{u'username': u'alerner', u'name': u'Alberto Lerner', u'email': u'alerner@10gen.com'}

Message: SERVER-10565 Holding off a little bit longer on explain goodies.
Branch: master
https://github.com/mongodb/mongo/commit/b93111964cb247d636ebdb0dd92f9709287eaa8c

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 add a dummy implementation in all other runners and keep Runner fully interface-only. removed runner.cpp
Branch: master
https://github.com/mongodb/mongo/commit/a2298b61a9e31e252ed2c779910e73e3066c0d70

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 document output of Runner::writeExplainTo
Branch: master
https://github.com/mongodb/mongo/commit/9ff7f06556943da071e1059e8e26ad0db32b3185

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 fixed pointer style
Branch: master
https://github.com/mongodb/mongo/commit/2d03c9f6e06199ba1a5453396ffe75aaadc31c0f

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 fixed pointer style
Branch: master
https://github.com/mongodb/mongo/commit/ebbe4cc7490836c7d59c2bcbfc4927afea561102

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 expand templates
Branch: master
https://github.com/mongodb/mongo/commit/931efa060edf81dccd99bbe704818c9a512b49fa

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 fixed comments per style guide and moved implementation notes from cpp file to header
Branch: master
https://github.com/mongodb/mongo/commit/df6978cff0688eaa7b770396ccddfc2ae1b9bcf5

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added comment on unsigned conversion of internal counters
Branch: master
https://github.com/mongodb/mongo/commit/b753f054d56b6c63c97db963b13a9bf57cf89c2d

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 update plan executor to retrieve plan stage stats
Branch: master
https://github.com/mongodb/mongo/commit/e38ef3a34a3a1f8f7eef0592379578999c00032f

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added writeExplainTo() to PlanStageStats
Branch: master
https://github.com/mongodb/mongo/commit/6f642d62d1fa57fbf7ec2f8ca3e0868e9b95e1eb

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 const-qualify writeExplainTo. this function should not be modifying internal state
Branch: master
https://github.com/mongodb/mongo/commit/a4e5462387b93d7f5d79291aa8033a7f206348a8

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 encapsulated plan executor explain stats in exec sub document
Branch: master
https://github.com/mongodb/mongo/commit/cd389a5b66eab681c96f7fd7515a498773c0df28

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added stub for writeExplainTo(). used to fill in explain information
Branch: master
https://github.com/mongodb/mongo/commit/2a9f0980019fdb74377af21f86afc14cb766b860

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added null pointer check on BSONObjBuilder argument
Branch: master
https://github.com/mongodb/mongo/commit/275a53427455e0dd96223b0ed203b42cf8f761e5

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added implementation file for single solution runner
Branch: master
https://github.com/mongodb/mongo/commit/150d27eede6b7ccc83ffdb9bd944864a8db81ffc

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 implemented writeExplainTo in single solution runner
Branch: master
https://github.com/mongodb/mongo/commit/8993f914a4e4b68d07d4a81b37a2869d26c45344

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added implementation file for single solution runner
Branch: master
https://github.com/mongodb/mongo/commit/00557bc11c4c6d96903a39b62ff3940b5f80118b

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 fixed license
Branch: master
https://github.com/mongodb/mongo/commit/5cc06f4050fc25762579556dc079575a16b45e5d

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 invoke Runner::writeExplainTo to fill in explain document
Branch: master
https://github.com/mongodb/mongo/commit/1dca33811dea7e28dc94bd6895d2b1377445c934

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added implementation file for Runner
Branch: master
https://github.com/mongodb/mongo/commit/e97a10851c8ca7424655a5c5acd301e13178b6fa

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added writeExplainTo function to Runner interface
Branch: master
https://github.com/mongodb/mongo/commit/40e84030fbeeae06bd5229d32f91252fd1632aad

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 rename BSONObjBuilder local variable from objBuilder to bob to be consistent with other BSONObjBuilder instances in db/query
Branch: master
https://github.com/mongodb/mongo/commit/0c9e4550fe5ebad8e32193058c2ad18f1de3e518

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 small refactoring of explain logic. expanded BSON macro to make room for invoking runner explain function
Branch: master
https://github.com/mongodb/mongo/commit/f0498832b5771b86693a89f89eae1e9c67cc8283

Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 refer to std::string with explicit namespace prefix in header
Branch: master
https://github.com/mongodb/mongo/commit/c9a0ca7792ecfc14eb0fefc618a2d31534b11004

Comment by auto [ 13/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 updated new query framework to fill in the explain.n field. n is a number that reflects the number of documents that match the query selection criteria. fixed in new query framework document count (explain.n) returned in explain output when batch size is set. skip adding documents to query result if explain info is requested. no need to reset result buffer to set explain info
Branch: master
https://github.com/mongodb/mongo/commit/ae082c0c88c857f1434cace7b9172e87fbba0db0

Comment by auto [ 13/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 added explain js test to check explain.n when query batch size is smaller than total number of documents requested
Branch: master
https://github.com/mongodb/mongo/commit/c3afc0341bd84dbbd68c040647c0fbcf7c7816ec

Comment by auto [ 13/Sep/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10565 stripped down explain js test script to check explain functionality in new query framework
Branch: master
https://github.com/mongodb/mongo/commit/6c4f29bf67da8b796c112e9a875463a6c5b52340

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