<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:05:58 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-44432] Per index access stats</title>
                <link>https://jira.mongodb.org/browse/SERVER-44432</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It would be useful to be able to get stats from individual indexes about how often they are used. You can see whether a specific query uses certain indexes using explain() but this would allow you to easily see if the index is being used at all. It could just be a simple incrementing counter every time the index gets used.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13970">SERVER-44432</key>
            <summary>Per index access stats</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="james.wahlin@mongodb.com">James Wahlin</assignee>
                                    <reporter username="boxedice">David Mytton</reporter>
                        <labels>
                            <label>collection-level</label>
                            <label>metrics</label>
                            <label>performance</label>
                            <label>stats</label>
                    </labels>
                <created>Wed, 15 Dec 2010 10:40:56 +0000</created>
                <updated>Wed, 11 Dec 2019 19:07:00 +0000</updated>
                            <resolved>Thu, 3 Sep 2015 20:33:21 +0000</resolved>
                                                    <fixVersion>3.1.8</fixVersion>
                                                        <votes>90</votes>
                                    <watches>72</watches>
                                                                                                                <comments>
                            <comment id="1022003" author="xgen-internal-githook" created="Thu, 3 Sep 2015 20:30:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;James Wahlin&apos;, u&apos;email&apos;: u&apos;james.wahlin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44432&quot; title=&quot;Per index access stats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44432&quot;&gt;&lt;del&gt;SERVER-2227&lt;/del&gt;&lt;/a&gt; Addition of index usage statistics&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ae9df7fb11cf359686699aeb9539cb6dc35de675&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ae9df7fb11cf359686699aeb9539cb6dc35de675&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="936179" author="avivais" created="Wed, 10 Jun 2015 11:55:27 +0000"  >&lt;p&gt;+1 - Should be really really helpful and replace all the hassle going through the profiler docs&lt;/p&gt;</comment>
                            <comment id="720293" author="rgpublic" created="Tue, 16 Sep 2014 20:46:48 +0000"  >&lt;p&gt;&quot;One more thing&quot; I&apos;d like to add: A simple counter would already be a huge step forward, but the date of last access would be even better. Otherwise one would have to compare the values of individual indexes between two dates and find out whether the counter incremented or not. Certainly not that difficult, but while you are at it you might want to consider saving the last access date as well.&lt;/p&gt;</comment>
                            <comment id="720242" author="richard.kershaw@corethree.net" created="Tue, 16 Sep 2014 20:01:10 +0000"  >&lt;p&gt;One more vote for this feature - we have some &lt;b&gt;huge&lt;/b&gt; indexes it&apos;d be great to dispose of just as soon as we&apos;re 100% sure they&apos;re completely unused.&lt;/p&gt;</comment>
                            <comment id="693965" author="tpneumat" created="Mon, 18 Aug 2014 17:56:26 +0000"  >&lt;p&gt;We have system that automatically creates indexes when needed-- this would be especially helpful, allowing us to auto-remove them when no longer used or when underutilized.&lt;/p&gt;</comment>
                            <comment id="693952" author="nader" created="Mon, 18 Aug 2014 17:51:11 +0000"  >&lt;p&gt;+1 over time the number of indexes creeps up and it would be very useful to see which are unused&lt;/p&gt;</comment>
                            <comment id="667531" author="mrigal" created="Tue, 22 Jul 2014 14:48:51 +0000"  >&lt;p&gt;+1 very helpful !&lt;/p&gt;</comment>
                            <comment id="585999" author="moecre" created="Fri, 16 May 2014 08:50:20 +0000"  >&lt;p&gt;+1 This would be very useful.&lt;/p&gt;</comment>
                            <comment id="585149" author="tdemille" created="Thu, 15 May 2014 17:42:17 +0000"  >&lt;p&gt;index maintenance is impossible without usage stats... we probably have 50% of our indexes unused in our ad-hoc query environment.   Not an issue in a system like couchbase with very easy to predict queries, but since MongoDB is so great at providing ad-hoc query performance... this is the missing link to really being world class.  I have had to slow down our migration to MongoDB because of this.&lt;/p&gt;</comment>
                            <comment id="577084" author="mwormley@adobe.com" created="Thu, 8 May 2014 17:08:19 +0000"  >&lt;p&gt;+1 this is missing information during performance tuning and decision making&lt;/p&gt;</comment>
                            <comment id="486363" author="sam@brabble.com" created="Thu, 23 Jan 2014 09:38:45 +0000"  >&lt;p&gt;+1 very helpful.&lt;/p&gt;</comment>
                            <comment id="454773" author="koki23" created="Mon, 11 Nov 2013 23:55:49 +0000"  >&lt;p&gt;+1 very helpful. &lt;/p&gt;</comment>
                            <comment id="133958" author="tdemille" created="Mon, 18 Jun 2012 17:36:24 +0000"  >&lt;p&gt;Glad to see this, please move it up the priority!   It&apos;s impossible to do a good job of indexing a DB without information on index usage. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="217800">SERVER-19504</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="13508">SERVER-2006</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="157795">SERVER-15224</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="200866">SERVER-18245</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="232511">SERVER-20735</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24447">SERVER-4202</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52837">SERVER-7318</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="71266">SERVER-9306</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="228508">DOCS-6147</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="230545">SERVER-20509</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13874">SERVER-2178</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="170280">SERVER-16245</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="279097">SERVER-23655</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="38493">SERVER-5828</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 Jun 2012 17:36:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 23 weeks, 6 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-19504'>SERVER-19504</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>james.wahlin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 23 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>avivais</customfieldvalue>
            <customfieldvalue>boxedice</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
            <customfieldvalue>tpneumat</customfieldvalue>
            <customfieldvalue>MRigal</customfieldvalue>
            <customfieldvalue>mwormley@adobe.com</customfieldvalue>
            <customfieldvalue>nader</customfieldvalue>
            <customfieldvalue>moecre</customfieldvalue>
            <customfieldvalue>koki23</customfieldvalue>
            <customfieldvalue>rgpublic</customfieldvalue>
            <customfieldvalue>richard.kershaw@corethree.net</customfieldvalue>
            <customfieldvalue>sam@brabble.com</customfieldvalue>
            <customfieldvalue>tdemille</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpa3z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>129</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="303">Query 2.7.8</customfieldvalue>
    <customfieldvalue id="635">Quint Iteration 7</customfieldvalue>
    <customfieldvalue id="641">QuInt 8 08/28/15</customfieldvalue>
    <customfieldvalue id="642">Quint 9 09/18/15</customfieldvalue>

                        </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|hrljmv:</customfieldvalue>

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