Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.3
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      Right now there's no way to tell what underlying query will be used for an aggregation pipeline; knowing that would help with performance issues. As well as that, as we apply more optimizations to pipeline execution, we'll want to be able to see the original pipeline specification as well as what it has been transformed to by the optimizer.

        Issue Links

          Activity

          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504 aggregation explain implementation
          Branch: master
          https://github.com/mongodb/mongo/commit/c13ff660e615ef76f6f4dbc8c62d24c6b4ae54cc

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 aggregation explain implementation Branch: master https://github.com/mongodb/mongo/commit/c13ff660e615ef76f6f4dbc8c62d24c6b4ae54cc
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504 minor changes from code review
          Branch: master
          https://github.com/mongodb/mongo/commit/54f86fa31d31b90bfa9d086520821e402cc5589a

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 minor changes from code review Branch: master https://github.com/mongodb/mongo/commit/54f86fa31d31b90bfa9d086520821e402cc5589a
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504 minor changes from code review
          Branch: master
          https://github.com/mongodb/mongo/commit/ef05c4ef68afe4b9db9e5604e017235e79a3fab1

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 minor changes from code review Branch: master https://github.com/mongodb/mongo/commit/ef05c4ef68afe4b9db9e5604e017235e79a3fab1
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504 use
          Branch: master
          https://github.com/mongodb/mongo/commit/51b19f8296d62c2f518bd9edae2a5056d51acd8c

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 use Branch: master https://github.com/mongodb/mongo/commit/51b19f8296d62c2f518bd9edae2a5056d51acd8c
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504 big explain: fix recursive lock issue
          Branch: master
          https://github.com/mongodb/mongo/commit/fcf121792af0ea41f31e3a17b90d62687d065c5b

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 big explain: fix recursive lock issue Branch: master https://github.com/mongodb/mongo/commit/fcf121792af0ea41f31e3a17b90d62687d065c5b
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504; minor changes from Mathias' code review
          Branch: master
          https://github.com/mongodb/mongo/commit/d0790729c406ee25e7bb77f5f594e573f654d2b3

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 ; minor changes from Mathias' code review Branch: master https://github.com/mongodb/mongo/commit/d0790729c406ee25e7bb77f5f594e573f654d2b3
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'}

          Message: SERVER-4504; enhanced a comment as requested by Mathias
          Branch: master
          https://github.com/mongodb/mongo/commit/9eb4a521d3f17b1707c9ad3b7261031673f4e4a1

          Show
          auto auto (Inactive) added a comment - Author: {u'login': u'cwestin', u'name': u'U-tellus\\cwestin', u'email': u'cwestin@10gen.com'} Message: SERVER-4504 ; enhanced a comment as requested by Mathias Branch: master https://github.com/mongodb/mongo/commit/9eb4a521d3f17b1707c9ad3b7261031673f4e4a1
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

          Message: SERVER-4504 explain for aggregation

          This is just the infrastucture change. Each DocumentSource will need to
          have it's serialize()/serializeToArray() implementation examined and
          improved.

          Related tickets:
          SERVER-6140 A specific failure in the old impl of explain.
          Branch: master
          https://github.com/mongodb/mongo/commit/755e7956642c01d2ba6ae7cf184b0f1a8aa0eab1

          Show
          auto auto (Inactive) added a comment - Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'} Message: SERVER-4504 explain for aggregation This is just the infrastucture change. Each DocumentSource will need to have it's serialize()/serializeToArray() implementation examined and improved. Related tickets: SERVER-6140 A specific failure in the old impl of explain. Branch: master https://github.com/mongodb/mongo/commit/755e7956642c01d2ba6ae7cf184b0f1a8aa0eab1
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

          Message: SERVER-4504 Improve DocumentSourceCursor explain

          Running an explain on a new query through DBDirectClient is just wrong
          here. It needs to describe the actual cursor created by agg rather than
          the cursor that would be used in a similar find.
          Branch: master
          https://github.com/mongodb/mongo/commit/7bf16104e2d7a2d0e9ee653606eaa83947bdccf1

          Show
          auto auto (Inactive) added a comment - Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'} Message: SERVER-4504 Improve DocumentSourceCursor explain Running an explain on a new query through DBDirectClient is just wrong here. It needs to describe the actual cursor created by agg rather than the cursor that would be used in a similar find. Branch: master https://github.com/mongodb/mongo/commit/7bf16104e2d7a2d0e9ee653606eaa83947bdccf1

            People

            • Votes:
              51 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: