<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:08 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-1815] instrument more detailed response time items in profiler</title>
                <link>https://jira.mongodb.org/browse/SERVER-1815</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The profiler is &lt;b&gt;awesome&lt;/b&gt;.  But we need more data about the details of where the time went so we can tune individual components and so we can construct a call graph.  Splitting the &quot;Millis&quot; component out by type would be an excellent first step.   I realize it may be hard with MM files, but perhaps just treat all calls to MM files as I/O for now.  We would not be able to see physical vs logical I/O, but ok, thats a compromise.  But understanding I/O vs other items would be excellent!  Especially if a write was waiting to get time on the writer process.  I would love something like:&lt;/p&gt;

&lt;p&gt;read:&lt;br/&gt;
{ &quot;ts&quot; : &quot;Mon Sep 20 2010...&quot;, &quot;info&quot; : &quot;query test.foo reslen:174 nscanned:4  \nquery: {}  nreturned:4 bytes:158&quot;, &quot;millis&quot; : &lt;/p&gt;
{&quot;IO&quot;:4,&quot;Lock&quot;:1,&quot;Net&quot;:1,&quot;Total&quot;:6}
&lt;p&gt;, }&lt;/p&gt;

&lt;p&gt;write:&lt;br/&gt;
{ &quot;ts&quot; : &quot;Mon Sep 20 2010...&quot;, &quot;info&quot; : &quot;insert test.foo&quot;, &quot;millis&quot; : &lt;/p&gt;
{&quot;IO&quot;:1,&quot;Queue&quot;:4,&quot;Net&quot;:1,&quot;Fsync&quot;:1,&quot;Total&quot;:7 }

&lt;p&gt;I think the various types that makes sense are:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Network Time&lt;/li&gt;
	&lt;li&gt;I/O Time  (faults)&lt;/li&gt;
	&lt;li&gt;Queue Time (waiting for writer process for instance)&lt;/li&gt;
	&lt;li&gt;Connection Time&lt;/li&gt;
	&lt;li&gt;Lock Time&lt;/li&gt;
	&lt;li&gt;CPU Time&lt;/li&gt;
	&lt;li&gt;Fsync Time&lt;/li&gt;
	&lt;li&gt;GetLastError() Time&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The idea of DB profiling is not new.  The Oracle world as a great deal of expertise in this area, and it&apos;s one of it&apos;s great strengths.  If you are not already familar here is a paper by Cary Milsap (who IMHO is the master of all things profiling in Oracle):&lt;br/&gt;
&lt;a href=&quot;http://www.scribd.com/doc/16884539/Millsap-Profiling-Oracle-How-It-Works&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.scribd.com/doc/16884539/Millsap-Profiling-Oracle-How-It-Works&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13131">SERVER-1815</key>
            <summary>instrument more detailed response time items in profiler</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="kgorman">Kenny Gorman</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Sep 2010 18:23:35 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:52 +0000</updated>
                            <resolved>Mon, 8 Aug 2011 16:26:05 +0000</resolved>
                                                    <fixVersion>1.9.2</fixVersion>
                                    <component>Admin</component>
                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47064" author="auto" created="Mon, 8 Aug 2011 16:26:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: cleaning new profiler data &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1815&quot; title=&quot;instrument more detailed response time items in profiler&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1815&quot;&gt;&lt;del&gt;SERVER-1815&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3a52f00ede5a8c2507cf3f7bd345c204dc1acf61&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3a52f00ede5a8c2507cf3f7bd345c204dc1acf61&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="47061" author="eliot" created="Mon, 8 Aug 2011 16:24:20 +0000"  >&lt;p&gt;The profiler output has changed and there are more things now, but some are still missing&lt;/p&gt;</comment>
                            <comment id="24649" author="kgorman" created="Fri, 25 Feb 2011 00:19:34 +0000"  >&lt;p&gt;Can you schedule this sooner?  Like 1.8? &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.  Pretty please?&lt;/p&gt;</comment>
                            <comment id="18362" author="eliot" created="Tue, 21 Sep 2010 02:08:43 +0000"  >&lt;p&gt;Some of these make sense - others would be harder.&lt;br/&gt;
For many queries - doing the timing, etc.. is actually actually a high percentage - so need to be careful we don&apos;t hurt performance doing this.&lt;br/&gt;
With memory mapped files this is very expensive.  You can check if a page is loaded - but it would slow things down unacceptably.&lt;br/&gt;
So need to think through all the details.&lt;/p&gt;</comment>
                            <comment id="18358" author="kgorman" created="Mon, 20 Sep 2010 20:32:14 +0000"  >&lt;p&gt;Oh, and another little data format tweak to make map reducing output easier:&lt;/p&gt;

&lt;p&gt;{ &quot;ts&quot; : &quot;Mon Sep 20 2010 11:55:52 GMT-0700 (PDT)&quot;, &lt;br/&gt;
  &quot;type&quot;:&quot;query&quot;,&lt;br/&gt;
  &quot;db&quot;:&quot;test&quot;,&lt;br/&gt;
  &quot;collection&quot;:&quot;foo&quot;,&lt;br/&gt;
  &quot;nscanned&quot;:4,&lt;br/&gt;
  &quot;reslen&quot;:174,&lt;br/&gt;
  &quot;nreturned&quot;:4,&lt;br/&gt;
  &quot;bytes&quot;:158,&lt;br/&gt;
  &quot;millis&quot;:&lt;/p&gt;
{......}
&lt;p&gt;}&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="20688">SERVER-3546</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 21 Sep 2010 02:08:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 28 weeks, 2 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>
                            12 years, 28 weeks, 2 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>eliot</customfieldvalue>
            <customfieldvalue>kgorman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpetj:</customfieldvalue>

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

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

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