<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:09:44 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-25631] IndexStats needs to maintain all historical data. Not only from restart of Mongod process</title>
                <link>https://jira.mongodb.org/browse/SERVER-25631</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As a DBA I would like to really troubleshoot performance. A great source of information would normally be found in Index usage. However, from what I can work out (and the documentation states), a restart of the Mongod process resets this information. &lt;br/&gt;
I would like to know if this can be written out somewhere instead. This is vital information that is useless if it gets reset on restart. &lt;br/&gt;
For example:&lt;br/&gt;
I deploy new code and my performance falls off a cliff. &lt;br/&gt;
It could be that an index is causing the problem because of too many inserts being added and maybe disabling this index during load is the solution. However, the production server crashed and I can no longer see the stats of usage.&lt;/p&gt;

&lt;p&gt;It would be very helpful to add this to rs.status type view so that I can ses the index across all replica&apos;s&lt;/p&gt;</description>
                <environment></environment>
        <key id="309294">SERVER-25631</key>
            <summary>IndexStats needs to maintain all historical data. Not only from restart of Mongod process</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="mark.jones">Mark Jones</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Aug 2016 14:03:08 +0000</created>
                <updated>Thu, 25 Aug 2016 20:23:40 +0000</updated>
                            <resolved>Thu, 25 Aug 2016 20:23:40 +0000</resolved>
                                                                    <component>Aggregation Framework</component>
                    <component>Diagnostics</component>
                    <component>Index Maintenance</component>
                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1368293" author="david.storch" created="Thu, 25 Aug 2016 20:23:40 +0000"  >&lt;p&gt;Closing as &quot;Won&apos;t Fix&quot;. Along the lines of what &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ramon.fernandez&quot; class=&quot;user-hover&quot; rel=&quot;ramon.fernandez&quot;&gt;ramon.fernandez&lt;/a&gt; described above, our preferred direction is to create tooling that can poll the index stats data in order to construct a timeseries view of index usage. We do not currently plan to build support for this directly into the server.&lt;/p&gt;</comment>
                            <comment id="1360262" author="mark.jones" created="Wed, 17 Aug 2016 22:00:00 +0000"  >&lt;p&gt;Thanks Roman.&lt;br/&gt;
In addition to my use case, there is also a real problem with how this view could be viewed.&lt;br/&gt;
Lets say I use an index once a month at month end, but the mongod&apos;s restarted on on my replica set each month for upgrades or maintenance etc.. &lt;br/&gt;
If I follow our released training, 1 use for this view would be to drop un-used indexes. If this data was historical then this would show that although the index is not used alot, it certainly is needed. Maybe aggregating on date used would be useful too?&lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;

&lt;p&gt;Mark &lt;/p&gt;</comment>
                            <comment id="1359080" author="ramon.fernandez" created="Tue, 16 Aug 2016 23:55:44 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.jones&quot; class=&quot;user-hover&quot; rel=&quot;mark.jones&quot;&gt;mark.jones&lt;/a&gt;, this is now on the Query Team for evaluation.&lt;/p&gt;

&lt;p&gt;I guess the workaround is to use a while loop in a shell to capture metrics like we used to do for &lt;tt&gt;db.serverStatus()&lt;/tt&gt; data collection (see an &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20159?focusedCommentId=1015898&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1015898&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;example here&lt;/a&gt;) before we had FTDC. Not ideal, but in critical enough cases it can be a suitable workaround.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Aug 2016 23:55:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 24 weeks, 6 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>david.storch@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 24 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.jones</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjyw7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsor9j:</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_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|hsa0vr:</customfieldvalue>

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