<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:13 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>[DRIVERS-303] Mongo Query Taking Lot of Time Selecting Index</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-303</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;There are two issues happening  :&lt;br/&gt;
First Issue : Query taking lot of time in deciding which index to use. &lt;br/&gt;
     Eg: If we run an query X , then it takes a lot of time (more than 5 minutes) )and on checking the log it was using a index Y. &lt;br/&gt;
           Now if I run the query X with index hint Y, it runs in couple of seconds.&lt;br/&gt;
           That means the time it was taking is not in query execution but before that. Very    strange &lt;/p&gt;


&lt;p&gt;Second Issue : In some cases it is not selecting the right index also. If my query is on fields A,B,C and I have indexes A and A_B_C created, then it is choosing the index A instead if A_B_C&lt;/p&gt;
</description>
                <environment>Ubuntu 12&lt;br/&gt;
Mongo Version : 3.0.4 </environment>
        <key id="289547">DRIVERS-303</key>
            <summary>Mongo Query Taking Lot of Time Selecting Index</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="arpit@limeroad.com">arpit wanchoo</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 May 2016 09:00:02 +0000</created>
                <updated>Tue, 30 Aug 2016 18:59:38 +0000</updated>
                            <resolved>Tue, 30 Aug 2016 18:59:34 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1372022" author="behackett" created="Tue, 30 Aug 2016 16:22:56 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24312&quot; title=&quot;Mongo Query Taking Lot of Time Selecting Index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24312&quot;&gt;&lt;del&gt;SERVER-24312&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="290161">SERVER-24312</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hslu6n:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>