<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:34 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-1957] implement profile for mongos</title>
                <link>https://jira.mongodb.org/browse/SERVER-1957</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;2 choices:&lt;/p&gt;

&lt;p&gt;A) shard level profiling&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;needs to set profiling on all shards&lt;/li&gt;
	&lt;li&gt;needs to aggregate results for a query on profile collection&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;B) profile in mongos&lt;/p&gt;

&lt;p&gt;Leaning towards B.&lt;br/&gt;
keep data purely in memory&lt;/p&gt;
</description>
                <environment></environment>
        <key id="13400">SERVER-1957</key>
            <summary>implement profile for mongos</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="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Oct 2010 21:04:31 +0000</created>
                <updated>Tue, 6 Dec 2022 05:47:33 +0000</updated>
                            <resolved>Fri, 31 May 2019 18:11:57 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>16</votes>
                                    <watches>20</watches>
                                                                                                                <comments>
                            <comment id="2267207" author="ratika.gandhi" created="Fri, 31 May 2019 18:11:59 +0000"  >&lt;p&gt;We don&apos;t have any plans of enhancing profile supports in MongoS at this time. Please re-open if needed.&#160;&lt;/p&gt;</comment>
                            <comment id="1409369" author="ramon.fernandez" created="Sat, 15 Oct 2016 01:37:51 +0000"  >&lt;p&gt;Thanks for your interest in this old ticket &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=stefan%40close.io&quot; class=&quot;user-hover&quot; rel=&quot;stefan@close.io&quot;&gt;stefan@close.io&lt;/a&gt;. Unfortunately I have no additional information for you, only that tickets in &quot;Planning Bucket A&quot; like this one get regularly revisited for consideration.&lt;/p&gt;

&lt;p&gt;As you know, recent releases of MongoDB have included numerous changes around sharding. The good new is that there are many more sharding improvements planned, and the not-so-good news is that this ticket has to compete for resources with other sharding-related work.&lt;/p&gt;

&lt;p&gt;Any changes in the planning and scheduling of this ticket will be reflected here, so please continue to watch for updates.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1400283" author="stefan@close.io" created="Tue, 4 Oct 2016 22:19:37 +0000"  >&lt;p&gt;Building on top of option B, I would LOVE to see some extra profiling data for mongos specifically. Right now, there&apos;s zero visibility into how much time it took mongos to do a broadcast query, how many shards were targeted, how quickly each of them responded, and how much time it took to merge/sort the results and apply the _skip/_limit. Are you guys planning to address this lack of crucial profiling information in any way?&lt;/p&gt;</comment>
                            <comment id="49003" author="eliot" created="Wed, 17 Aug 2011 14:26:55 +0000"  >&lt;p&gt;error message fixed.&lt;/p&gt;</comment>
                            <comment id="48794" author="thekorn" created="Tue, 16 Aug 2011 13:24:14 +0000"  >&lt;p&gt;Before this feature gets implemented it would be great if mongodb could be a bit more precise and verbose with the error it raises when someone tries to enable profiling in a sharded setup.&lt;br/&gt;
Right now I get:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.commandHelp(&quot;profile&quot;)&lt;br/&gt;
Tue Aug 16 13:17:12 uncaught exception: error &lt;/p&gt;
{ &quot;$err&quot; : &quot;unrecognized command: profile&quot;, &quot;code&quot; : 13390 }
&lt;p&gt;&amp;gt; db.setProfilingLevel(2)&lt;br/&gt;
Tue Aug 16 13:17:32 uncaught exception: error &lt;/p&gt;
{ &quot;$err&quot; : &quot;unrecognized command: profile&quot;, &quot;code&quot; : 13390 }

&lt;p&gt;Which I cannot make any sense of.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="108128">SERVER-12521</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="139439">SERVER-14119</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="152646">SERVER-14900</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></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 2011 13:24:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 36 weeks, 5 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 36 weeks, 5 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>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>thekorn</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>ratika.gandhi@mongodb.com</customfieldvalue>
            <customfieldvalue>stefan@close.io</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpczz:</customfieldvalue>

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

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

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