<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:22:33 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-30063] Similar queries yet horrible performance for one of them</title>
                <link>https://jira.mongodb.org/browse/SERVER-30063</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I have two queries that are strictly identical, except for one field.&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;Query 1:&lt;/ins&gt; &quot;fieldX&quot;: &lt;/p&gt;
{ $in: [ &quot;value1&quot;, &quot;value2&quot;, &quot;value3&quot;, &quot;value4&quot;, &quot;value5&quot; ] }
&lt;p&gt;&lt;ins&gt;Query 2:&lt;/ins&gt; &quot;fieldX&quot;: &quot;value6&quot;&lt;/p&gt;

&lt;p&gt;Query 1 takes 2 seconds to execute.&lt;br/&gt;
Query 2 takes 5.87 seconds to execute.&lt;/p&gt;

&lt;p&gt;Important information: my cluster has crashed a week ago during the creation of the index that is used by the queries. The MongoDB Cloud team restarted its 3 nodes.&lt;/p&gt;

&lt;p&gt;Attached are screenshots of the two queries and their execution times as displayed by Robomongo.&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;</description>
                <environment>MongoDB v3.2.13&lt;br/&gt;
3-nodes cluster in MongoDB Cloud, M10 instances</environment>
        <key id="401789">SERVER-30063</key>
            <summary>Similar queries yet horrible performance for one of them</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="technical@tootsweet-app.com">Elyes Gherib</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Jul 2017 09:16:56 +0000</created>
                <updated>Sun, 16 Jul 2017 18:18:50 +0000</updated>
                            <resolved>Sun, 16 Jul 2017 18:18:50 +0000</resolved>
                                    <version>3.2.13</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1616983" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 14:34:20 +0000"  >&lt;p&gt;Please close this issue.&lt;/p&gt;</comment>
                            <comment id="1616925" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 10:00:56 +0000"  >&lt;p&gt;I also attached the JSON of the winning plans for both queries, along with the index composition.&lt;br/&gt;
Query 2 has 5 more input stages than query 1.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="160505" name="1.png" size="82326" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 09:14:41 +0000"/>
                            <attachment id="160504" name="2.png" size="78652" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 09:14:41 +0000"/>
                            <attachment id="160507" name="explain1.json" size="107152" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 09:54:15 +0000"/>
                            <attachment id="160506" name="explain2.json" size="97893" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 09:54:17 +0000"/>
                            <attachment id="160508" name="index.json" size="272" author="technical@tootsweet-app.com" created="Sat, 8 Jul 2017 10:00:46 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 31 weeks, 4 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 31 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>technical@tootsweet-app.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htaj6n:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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|hta59b:</customfieldvalue>

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