<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:30:25 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-75529] Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression</title>
                <link>https://jira.mongodb.org/browse/SERVER-75529</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;NamespaceString is one of the core datatypes of the system. It is widely used for authorization checks, logging, resource locking, etc. Ongoing changes have led to the NamespaceString class to grow from 40 bytes to 88 bytes and based on &lt;a href=&quot;https://spruce.mongodb.com/version/64250143850e61931dcec397/changes?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this patch build&lt;/a&gt; it appears the performance is sensitive to changes only to the size of the data structure (e.g. 8-9% throughput drop for linkbench2).&lt;/p&gt;

&lt;p&gt;The addition of the DatabaseName class as a member variable to NamespaceString is what accounts for the additional 48 bytes. We should explore different memory layouts for TenantId, DatabaseName, and NamespaceString to have the system be more efficient.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2303090">SERVER-75529</key>
            <summary>Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression</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="13201">Fixed</resolution>
                                        <assignee username="matt.broadstone@mongodb.com">Matt Broadstone</assignee>
                                    <reporter username="max.hirschhorn@mongodb.com">Max Hirschhorn</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Mar 2023 03:27:15 +0000</created>
                <updated>Sun, 29 Oct 2023 21:23:54 +0000</updated>
                            <resolved>Wed, 26 Apr 2023 13:52:22 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                    <fixVersion>7.0.0-rc1</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="5396109" author="xgen-internal-githook" created="Tue, 2 May 2023 23:47:15 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Matt Broadstone&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;username&apos;: &apos;mbroadst&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-75733&quot; title=&quot;Clarify lifetime guarantees of NamespaceString::ns and DatabaseName::db&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-75733&quot;&gt;&lt;del&gt;SERVER-75733&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-76222&quot; title=&quot;Avoid temporary allocations of DatabaseName &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-76222&quot;&gt;&lt;del&gt;SERVER-76222&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-75529&quot; title=&quot;Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-75529&quot;&gt;&lt;del&gt;SERVER-75529&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-76632&quot; title=&quot;Creating view with collection name greater than 64 characters crashes with uassert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-76632&quot;&gt;&lt;del&gt;SERVER-76632&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-76632&quot; title=&quot;Creating view with collection name greater than 64 characters crashes with uassert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-76632&quot;&gt;&lt;del&gt;SERVER-76632&lt;/del&gt;&lt;/a&gt; Backport perf improvements to NamespaceString&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 3e76161bc537343aa585b305c068b1910578c07f)&lt;br/&gt;
(cherry picked from commit 7cc71f7d5f29a5850a4d186b9554df3dcb407117)&lt;br/&gt;
(cherry picked from commit 7c1ed6898f9004cf7aa9b2e16371fa83c72b3ba3)&lt;br/&gt;
(cherry picked from commit 95782eb4c729cd341ae2398863faa8292d8abd4e)&lt;br/&gt;
(cherry picked from commit bcff3cee04973b3ab91b78a70ca6b5740f22e1a0)&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/57cb7734d42bad79f636e9be2ad313398614e83e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/57cb7734d42bad79f636e9be2ad313398614e83e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5377118" author="xgen-internal-githook" created="Wed, 26 Apr 2023 12:51:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Matt Broadstone&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;username&apos;: &apos;mbroadst&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-75529&quot; title=&quot;Revisit memory layout for TenantId, DatabaseName, and NamespaceString to address performance regression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-75529&quot;&gt;&lt;del&gt;SERVER-75529&lt;/del&gt;&lt;/a&gt; Reduce the width of NamespaceString&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7c1ed6898f9004cf7aa9b2e16371fa83c72b3ba3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7c1ed6898f9004cf7aa9b2e16371fa83c72b3ba3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5314637" author="louis.williams" created="Fri, 31 Mar 2023 07:44:55 +0000"  >&lt;p&gt;If it helps, we had similar issues when we increased the size of RecordId. One of the main improvements involved removing any unnecessary copies &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67471&quot; title=&quot;Improve RecordId performance during index build&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67471&quot;&gt;&lt;del&gt;SERVER-67471&lt;/del&gt;&lt;/a&gt; and re-packing the struct more efficiently.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2343572">SERVER-77228</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2288192">SERVER-74849</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2294274">SERVER-75117</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2288182">SERVER-74848</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2003775">SERVER-64608</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2060639">SERVER-66963</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25578"><![CDATA[v7.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, 31 Mar 2023 07:44:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        40 weeks, 1 day 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_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-3222</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>
                            40 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>129.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.broadstone@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i22q0n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1l2g8:</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_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="7292">Server Serverless 2023-04-17</customfieldvalue>
    <customfieldvalue id="7293">Server Serverless 2023-05-01</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|i22c5z:</customfieldvalue>

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