<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:05:38 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-66511] Improve performance of blocking sort queries in SBE</title>
                <link>https://jira.mongodb.org/browse/SERVER-66511</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is a known issue that pertains to sort implementation in SBE. The new plan cache cannot help here.&lt;/p&gt;

&lt;p&gt;Relevant microbenchmarks:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Queries.NonCoveredBlockingSortWithIndexToSupportSort -19.74%&lt;/li&gt;
	&lt;li&gt;Queries.CoveredBlockingSort -23.30%&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2048054">SERVER-66511</key>
            <summary>Improve performance of blocking sort queries in SBE</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13201">Fixed</resolution>
                                        <assignee username="alberto.massari@mongodb.com">Alberto Massari</assignee>
                                    <reporter username="ethan.zhang@mongodb.com">Ethan Zhang</reporter>
                        <labels>
                            <label>pm2697-m3</label>
                    </labels>
                <created>Mon, 16 May 2022 23:55:24 +0000</created>
                <updated>Sun, 29 Oct 2023 21:38:11 +0000</updated>
                            <resolved>Thu, 27 Oct 2022 09:50:35 +0000</resolved>
                                                    <fixVersion>6.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="4931313" author="xgen-internal-githook" created="Thu, 27 Oct 2022 09:49:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Alberto Massari&apos;, &apos;email&apos;: &apos;alberto.massari@mongodb.com&apos;, &apos;username&apos;: &apos;albymassari&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66511&quot; title=&quot;Improve performance of blocking sort queries in SBE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66511&quot;&gt;&lt;del&gt;SERVER-66511&lt;/del&gt;&lt;/a&gt; Use traverseP expressions to compute sort keys&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0c8f1abefdc0f6c09b2ecebc17f7dd7a958f9148&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0c8f1abefdc0f6c09b2ecebc17f7dd7a958f9148&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4865008" author="xgen-internal-githook" created="Thu, 29 Sep 2022 13:28:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Alberto Massari&apos;, &apos;email&apos;: &apos;alberto.massari@mongodb.com&apos;, &apos;username&apos;: &apos;albymassari&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66511&quot; title=&quot;Improve performance of blocking sort queries in SBE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66511&quot;&gt;&lt;del&gt;SERVER-66511&lt;/del&gt;&lt;/a&gt; Improve performances of sort+limit stages in SBE&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/19515cea589979e7243ccf101a375a3c63881a27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/19515cea589979e7243ccf101a375a3c63881a27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4855745" author="xgen-internal-githook" created="Mon, 26 Sep 2022 15:44:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Alberto Massari&apos;, &apos;email&apos;: &apos;alberto.massari@mongodb.com&apos;, &apos;username&apos;: &apos;albymassari&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66511&quot; title=&quot;Improve performance of blocking sort queries in SBE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66511&quot;&gt;&lt;del&gt;SERVER-66511&lt;/del&gt;&lt;/a&gt;: Add benchmark for sort+limit operations (#102)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66511&quot; title=&quot;Improve performance of blocking sort queries in SBE&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66511&quot;&gt;&lt;del&gt;SERVER-66511&lt;/del&gt;&lt;/a&gt;: Add benchmark for sort+limit operations&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-perf/commit/541d79551a98db66d4ce5088b429f98d7a166e08&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-perf/commit/541d79551a98db66d4ce5088b429f98d7a166e08&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4664657" author="kyle.suarez" created="Thu, 7 Jul 2022 20:29:38 +0000"  >&lt;p&gt;std::swap()ing this work to Eric so that Mihai works on the experimental ABT lowering/traverse work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2116084">SERVER-68903</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2102535">SERVER-68432</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2104020">SERVER-68471</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="384816" name="classic100k.svg" size="259727" author="mihai.andrei@mongodb.com" created="Tue, 14 Jun 2022 21:36:18 +0000"/>
                            <attachment id="384815" name="classic1k.svg" size="476003" author="mihai.andrei@mongodb.com" created="Tue, 14 Jun 2022 21:36:18 +0000"/>
                            <attachment id="383001" name="classiccovered.svg" size="556339" author="mihai.andrei@mongodb.com" created="Fri, 3 Jun 2022 18:51:34 +0000"/>
                            <attachment id="383717" name="classicmanyfieldsort.svg" size="518577" author="mihai.andrei@mongodb.com" created="Wed, 8 Jun 2022 20:24:30 +0000"/>
                            <attachment id="383002" name="classicnoncovered.svg" size="502010" author="mihai.andrei@mongodb.com" created="Fri, 3 Jun 2022 18:51:34 +0000"/>
                            <attachment id="383714" name="classicsort.svg" size="573451" author="mihai.andrei@mongodb.com" created="Wed, 8 Jun 2022 19:45:42 +0000"/>
                            <attachment id="384818" name="sbe100k.svg" size="205181" author="mihai.andrei@mongodb.com" created="Tue, 14 Jun 2022 21:36:18 +0000"/>
                            <attachment id="384817" name="sbe1k.svg" size="522685" author="mihai.andrei@mongodb.com" created="Tue, 14 Jun 2022 21:36:18 +0000"/>
                            <attachment id="383003" name="sbecoveredblocking.svg" size="614331" author="mihai.andrei@mongodb.com" created="Fri, 3 Jun 2022 18:51:34 +0000"/>
                            <attachment id="383718" name="sbemanyfieldsort.svg" size="568440" author="mihai.andrei@mongodb.com" created="Wed, 8 Jun 2022 20:24:30 +0000"/>
                            <attachment id="383004" name="sbenoncovered.svg" size="528948" author="mihai.andrei@mongodb.com" created="Fri, 3 Jun 2022 18:51:34 +0000"/>
                            <attachment id="383715" name="sbesort.svg" size="614155" author="mihai.andrei@mongodb.com" created="Wed, 8 Jun 2022 19:45:42 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 3 Jun 2022 18:51:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 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-68432'>SERVER-68432</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-68471'>SERVER-68471</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-68903'>SERVER-68903</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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2697</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 14 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>35.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alberto.massari@mongodb.com</customfieldvalue>
            <customfieldvalue>ethan.zhang@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0v3pr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0e04w:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5910">QE 2022-09-19</customfieldvalue>
    <customfieldvalue id="5912">QE 2022-10-03</customfieldvalue>
    <customfieldvalue id="5914">QE 2022-10-17</customfieldvalue>
    <customfieldvalue id="5916">QE 2022-10-31</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</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|i0upv3:</customfieldvalue>

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