<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:04:42 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-66177] Optimize time-series sorting on multikey index</title>
                <link>https://jira.mongodb.org/browse/SERVER-66177</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When you sort by time or (meta, time) on a time-series collection, we&apos;re currently not attempting to optimize any case where the index is multikey.&lt;/p&gt;

&lt;p&gt;Multikey indexes have more than one index entry per document, and scanning the index produces each document once, the first time it encounters one of its index entries.  This means scanning a subset of the index can produce documents in a different order than scanning the whole index.&lt;/p&gt;

&lt;p&gt;For time-series (when sorting by time or (meta, time), some cases we probably could improve are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When the multikey scan has no bounds.&lt;/li&gt;
	&lt;li&gt;When the only multikey fields are irrelevant trailing fields.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2038793">SERVER-66177</key>
            <summary>Optimize time-series sorting on multikey index</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="3">Duplicate</resolution>
                                        <assignee username="backlog-query-integration">Backlog - Query Integration</assignee>
                                    <reporter username="david.percy@mongodb.com">David Percy</reporter>
                        <labels>
                            <label>qi-timeseries</label>
                    </labels>
                <created>Tue, 3 May 2022 19:07:28 +0000</created>
                <updated>Thu, 25 Jan 2024 19:57:56 +0000</updated>
                            <resolved>Thu, 25 Jan 2024 19:53:52 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="6042539" author="JIRAUSER1260430" created="Thu, 25 Jan 2024 19:53:52 +0000"  >&lt;p&gt;This is a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83348&quot; title=&quot;Extend bounded sort optimization for timeseries for equality predicates on multi key indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83348&quot;&gt;SERVER-83348&lt;/a&gt; and I added the description of this ticket to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83348&quot; title=&quot;Extend bounded sort optimization for timeseries for equality predicates on multi key indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83348&quot;&gt;SERVER-83348&lt;/a&gt;. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83348&quot; title=&quot;Extend bounded sort optimization for timeseries for equality predicates on multi key indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83348&quot;&gt;SERVER-83348&lt;/a&gt; describes one other extension, and this one describes 2 extensions. We should try and and do all of them in one ticket.&lt;/p&gt;</comment>
                            <comment id="6005151" author="JIRAUSER1260430" created="Thu, 11 Jan 2024 19:47:54 +0000"  >&lt;p&gt;Would &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83348&quot; title=&quot;Extend bounded sort optimization for timeseries for equality predicates on multi key indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83348&quot;&gt;SERVER-83348&lt;/a&gt; also be relevant in this case?&lt;/p&gt;</comment>
                            <comment id="4963851" author="JIRAUSER1257467" created="Tue, 8 Nov 2022 16:16:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rushan.chen%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rushan.chen@mongodb.com&quot;&gt;rushan.chen@mongodb.com&lt;/a&gt; - during QE Triage we were wondering if your team has capacity to work on this ticket if not maybe send it to Backlog?&lt;/p&gt;</comment>
                            <comment id="4926765" author="david.percy" created="Tue, 25 Oct 2022 19:45:26 +0000"  >&lt;p&gt;I don&apos;t know of a specific workload, no.  &quot;Nice to have&quot; is probably a good description--this is an optimization we just chose not to implement yet.&lt;/p&gt;</comment>
                            <comment id="4926362" author="JIRAUSER1259232" created="Tue, 25 Oct 2022 17:57:06 +0000"  >&lt;p&gt;Are there known workload having such index fields with multiple values per doc? or this is a nice to have? If the latter, it shouldn&apos;t be part of the project.&#160;&lt;/p&gt;

&lt;p&gt;Can def schedule this as a separate improvement.&lt;/p&gt;</comment>
                            <comment id="4926136" author="JIRAUSER1257467" created="Tue, 25 Oct 2022 17:01:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rushan.chen%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rushan.chen@mongodb.com&quot;&gt;rushan.chen@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.liu%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.liu@mongodb.com&quot;&gt;rui.liu@mongodb.com&lt;/a&gt; we reviewed this ticket during QO Triage Quick Wins and we were wondering if we can add this ticket to PM-3050?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2502237">SERVER-83348</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Oct 2022 17:01:43 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 week, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ana.meza@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>david.percy@mongodb.com</customfieldvalue>
            <customfieldvalue>gil.alon@mongodb.com</customfieldvalue>
            <customfieldvalue>rushan.chen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0tj6n:</customfieldvalue>

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

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

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