<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:11 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-4504] aggregation:  need an explain facility</title>
                <link>https://jira.mongodb.org/browse/SERVER-4504</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Right now there&apos;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&apos;ll want to be able to see the original pipeline specification as well as what it has been transformed to by the optimizer.&lt;/p&gt;</description>
                <environment></environment>
        <key id="26711">SERVER-4504</key>
            <summary>aggregation:  need an explain facility</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="dan@mongodb.com">Daniel Pasette</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Dec 2011 21:36:24 +0000</created>
                <updated>Tue, 27 Oct 2015 13:59:51 +0000</updated>
                            <resolved>Fri, 20 Sep 2013 20:04:05 +0000</resolved>
                                                    <fixVersion>2.5.3</fixVersion>
                                    <component>Aggregation Framework</component>
                                        <votes>51</votes>
                                    <watches>41</watches>
                                                                                                                <comments>
                            <comment id="429265" author="auto" created="Fri, 20 Sep 2013 20:02:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; Improve DocumentSourceCursor explain&lt;/p&gt;

&lt;p&gt;Running an explain on a new query through DBDirectClient is just wrong&lt;br/&gt;
here. It needs to describe the actual cursor created by agg rather than&lt;br/&gt;
the cursor that would be used in a similar find.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7bf16104e2d7a2d0e9ee653606eaa83947bdccf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7bf16104e2d7a2d0e9ee653606eaa83947bdccf1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="429263" author="auto" created="Fri, 20 Sep 2013 20:02:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; explain for aggregation&lt;/p&gt;

&lt;p&gt;This is just the infrastucture change. Each DocumentSource will need to&lt;br/&gt;
have it&apos;s serialize()/serializeToArray() implementation examined and&lt;br/&gt;
improved.&lt;/p&gt;

&lt;p&gt;Related tickets:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6140&quot; title=&quot;sharded aggregation explain failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6140&quot;&gt;&lt;del&gt;SERVER-6140&lt;/del&gt;&lt;/a&gt; A specific failure in the old impl of explain.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/755e7956642c01d2ba6ae7cf184b0f1a8aa0eab1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/755e7956642c01d2ba6ae7cf184b0f1a8aa0eab1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="124929" author="auto" created="Thu, 31 May 2012 21:00:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt;; enhanced a comment as requested by Mathias&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9eb4a521d3f17b1707c9ad3b7261031673f4e4a1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9eb4a521d3f17b1707c9ad3b7261031673f4e4a1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="124855" author="auto" created="Thu, 31 May 2012 18:22:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt;; minor changes from Mathias&apos; code review&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d0790729c406ee25e7bb77f5f594e573f654d2b3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d0790729c406ee25e7bb77f5f594e573f654d2b3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="124854" author="auto" created="Thu, 31 May 2012 18:22:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; big explain: fix recursive lock issue&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fcf121792af0ea41f31e3a17b90d62687d065c5b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fcf121792af0ea41f31e3a17b90d62687d065c5b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="121660" author="auto" created="Mon, 21 May 2012 21:08:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; use&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/51b19f8296d62c2f518bd9edae2a5056d51acd8c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/51b19f8296d62c2f518bd9edae2a5056d51acd8c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="121632" author="auto" created="Mon, 21 May 2012 19:41:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; minor changes from code review&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ef05c4ef68afe4b9db9e5604e017235e79a3fab1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ef05c4ef68afe4b9db9e5604e017235e79a3fab1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="121631" author="auto" created="Mon, 21 May 2012 19:41:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; minor changes from code review&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/54f86fa31d31b90bfa9d086520821e402cc5589a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/54f86fa31d31b90bfa9d086520821e402cc5589a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="121630" author="auto" created="Mon, 21 May 2012 19:41:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;cwestin&apos;, u&apos;name&apos;: u&apos;U-tellus\\cwestin&apos;, u&apos;email&apos;: u&apos;cwestin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4504&quot; title=&quot;aggregation:  need an explain facility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4504&quot;&gt;&lt;del&gt;SERVER-4504&lt;/del&gt;&lt;/a&gt; aggregation explain implementation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c13ff660e615ef76f6f4dbc8c62d24c6b4ae54cc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c13ff660e615ef76f6f4dbc8c62d24c6b4ae54cc&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="41911">SERVER-6140</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="40007">DOCS-215</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="91377">JAVA-954</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="10927">SERVER-447</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31530">SERVER-5090</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 17 Mar 2012 06:43:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 21 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-6140'>SERVER-6140</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 21 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroj1j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg4tz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7687</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrj5wf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>