<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:06: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-66816] Experiment: Use ABT lowering in the SBE stage builders to produce more efficient plans</title>
                <link>https://jira.mongodb.org/browse/SERVER-66816</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have observed that the way we translate certain MQL constructs to SBE in the SBE stage builders can be inefficient. ABT lowering will do things fundamentally differently in that it produces plans with traverse expressions rather than traverse plan stages. These expressions will compile to bytecode and be executed by the VM which has the potential to be faster than executing a complex tree of &lt;tt&gt;sbe::PlanStage&lt;/tt&gt; objects.&lt;/p&gt;

&lt;p&gt;As an experiment, we should try using the ABT lowering code from the Bonsai optimizer POC to build SBE plans. We can start with &lt;tt&gt;MatchExpressions&lt;/tt&gt;: convert &lt;tt&gt;MatchExpression&lt;/tt&gt; to ABT, then convert the ABT to an &lt;tt&gt;EExpression&lt;/tt&gt; which can compile to bytecode. It would also be interesting to do the same thing for projections, especially simple inclusion/exclusion projections which are common for find commands.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2056205">SERVER-66816</key>
            <summary>Experiment: Use ABT lowering in the SBE stage builders to produce more efficient plans</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="9">Done</resolution>
                                        <assignee username="mihai.andrei@mongodb.com">Mihai Andrei</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                            <label>pm2697-m2</label>
                    </labels>
                <created>Thu, 26 May 2022 19:06:54 +0000</created>
                <updated>Tue, 13 Sep 2022 21:25:24 +0000</updated>
                            <resolved>Tue, 16 Aug 2022 22:07:45 +0000</resolved>
                                                                    <component>Query Execution</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="4762102" author="andrew.paroski" created="Thu, 18 Aug 2022 21:59:08 +0000"  >&lt;p&gt;I have a diff for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-68969&quot; title=&quot;Replace TraverseStage with traverseF expressions in sbe_stage_builder_filter.cpp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-68969&quot;&gt;&lt;del&gt;SERVER-68969&lt;/del&gt;&lt;/a&gt; that I put up for review: &lt;a href=&quot;https://github.com/10gen/mongo/pull/7036/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/pull/7036/files&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This diff improves the SBE stage builder to use traverseF() in most cases instead of TraverseStage.&lt;/p&gt;

&lt;p&gt;Just wanted to share as it may be relevant to some of the folks following along with this ticket (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66816&quot; title=&quot;Experiment: Use ABT lowering in the SBE stage builders to produce more efficient plans&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66816&quot;&gt;&lt;del&gt;SERVER-66816&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2117451">SERVER-68969</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="391191" name="abtmulticomponent.svg" size="106645" author="mihai.andrei@mongodb.com" created="Wed, 20 Jul 2022 19:19:15 +0000"/>
                            <attachment id="391192" name="abtsinglecomponent.svg" size="119618" author="mihai.andrei@mongodb.com" created="Wed, 20 Jul 2022 19:19:15 +0000"/>
                            <attachment id="391193" name="classicmulticomponent.svg" size="116197" author="mihai.andrei@mongodb.com" created="Wed, 20 Jul 2022 19:19:15 +0000"/>
                            <attachment id="391194" name="classicsinglecomponent.svg" size="118886" author="mihai.andrei@mongodb.com" created="Wed, 20 Jul 2022 19:19:15 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 14 Jul 2022 19:49:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 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_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>kyle.suarez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 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>andrew.paroski@mongodb.com</customfieldvalue>
            <customfieldvalue>mihai.andrei@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0wh73:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i00rj1:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5900">QE 2022-07-11</customfieldvalue>
    <customfieldvalue id="5902">QE 2022-07-25</customfieldvalue>
    <customfieldvalue id="5904">QE 2022-08-08</customfieldvalue>
    <customfieldvalue id="5906">QE 2022-08-22</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|i0w3cf:</customfieldvalue>

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