<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:46:30 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-59153] slow queries on mongos </title>
                <link>https://jira.mongodb.org/browse/SERVER-59153</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi,support !&lt;/p&gt;

&lt;p&gt;&#160; &#160; We find the slow queries about&#160; below(these queries all use shard key filter , and i tried to adjust wt cache lower(to decrease io usage) ,but did&apos;t work, i provide logs ,diag data&#160; and i need you to help me reslove the issue):&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;//2021-08-06T18:14:39.413+0800 I COMMAND  [conn283674] command dmsBik4Bos.bik4bos command: find { find: &quot;bik4bos&quot;, filter: { bikeNo: &quot;7780170950&quot; }, projection: { bizType: 1, rideStatus: 1, bikeType: 1, pos.lat: 1, pos.lng: 1, pos.type: 1, pos.timeStamp: 1, alert: 1, alertMsg: 1, lock: 1, licensePlateNo: 1, lastMaintainTime: 1, serviceAreaId: 1, zeroBatteryScanCount: 1, smallAreaId: 1, rackDeployTime: 1, manualLabel: 1, manualLabelMsg: 1, fault: 1, faultMsg: 1, cityGuid: 1, modelGuid: 1, largeBatteryPercent: 1, opFaultCheck: 1, bikeNo: 1, lockVersion: 1, bigAreaId: 1, siteId: 1, opFault: 1, gridId: 1, opStatus: 1, licensePlateType: 1, lastScanUser: 1 }, limit: 1, singleBatch: true, $db: &quot;dmsBik4Bos&quot;, $clusterTime: { clusterTime: Timestamp(1628244877, 3136), signature: { hash: BinData(0, 8BF6B66C9B87883E83465F8833EFAC596C2026FE), keyId: 6962514570933960916 } }, lsid: { id: UUID(&quot;a26797f2-7427-471f-9dab-3c2fa649560f&quot;) }, $readPreference: { mode: &quot;primaryPreferred&quot; } } nShards:1 cursorExhausted:1 numYields:0 nreturned:1 reslen:1980 protocol:op_msg 1799ms&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="1843358">SERVER-59153</key>
            <summary>slow queries on mongos </summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="18621325186@163.com">h jy</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Aug 2021 12:08:54 +0000</created>
                <updated>Mon, 31 Jan 2022 21:06:06 +0000</updated>
                            <resolved>Mon, 31 Jan 2022 21:06:05 +0000</resolved>
                                    <version>4.0.12</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4130001" author="eric.sedor" created="Mon, 18 Oct 2021 16:50:20 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=18621325186%40163.com&quot; class=&quot;user-hover&quot; rel=&quot;18621325186@163.com&quot;&gt;18621325186@163.com&lt;/a&gt;, are you still experiencing issues here? If so I&apos;d like to suggest upgrading to our latest 4.0 maintenance release, 4.0.27. If the problem still occurs on that version we can dig in further.&lt;/p&gt;</comment>
                            <comment id="3991424" author="18621325186@163.com" created="Tue, 10 Aug 2021 02:17:49 +0000"  >&lt;p&gt;Hi, Eric&lt;/p&gt;

&lt;p&gt;&#160; &#160;Thank you for you replay ! &#160;If you analyic the case carefully , you will find the slow logs only be logged on mongos . I &#160;think the slow queries weren&apos;t be &#160;only happened on the mongos and weren&lt;/p&gt;

&lt;p&gt;be logged on the mongod&apos;s log files(and the queries with shard key should be excuted quickly).&#160;&lt;/p&gt;

&lt;p&gt;Gratefully&lt;/p&gt;</comment>
                            <comment id="3990065" author="eric.sedor" created="Mon, 9 Aug 2021 22:33:59 +0000"  >&lt;p&gt;HI &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=18621325186%40163.com&quot; class=&quot;user-hover&quot; rel=&quot;18621325186@163.com&quot;&gt;18621325186@163.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this issue, I&apos;d like to ask that you start with our community by posting on the &lt;a href=&quot;https://community.mongodb.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt;. The SERVER project is for reporting bugs in the MongoDB server, and the presence of logged slow queries isn&apos;t by itself considered a bug.&lt;/p&gt;

&lt;p&gt;If the discussion there in the community forums leads you to suspect a bug in MongoDB, that&apos;s something we&apos;d want to look into here.&lt;/p&gt;

&lt;p&gt;Gratefully,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="328816" name="mongo.zip" size="322913" author="18621325186@163.com" created="Fri, 6 Aug 2021 11:59:51 +0000"/>
                    </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>Mon, 9 Aug 2021 22:33:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 16 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>eric.sedor@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 16 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>18621325186@163.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwfev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzgm1z:</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_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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzw1nr:</customfieldvalue>

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