<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:16:28 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-48213] database creation  get slower for each databases created</title>
                <link>https://jira.mongodb.org/browse/SERVER-48213</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Creating databases with indexes takes more time the more databases have been created&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1351126">SERVER-48213</key>
            <summary>database creation  get slower for each databases created</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="emilien@sendinblue.com">emilien puget</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 May 2020 12:08:51 +0000</created>
                <updated>Mon, 1 Jun 2020 08:49:16 +0000</updated>
                            <resolved>Mon, 1 Jun 2020 08:49:16 +0000</resolved>
                                    <version>4.2.6</version>
                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="3148225" author="emilien@sendinblue.com" created="Mon, 1 Jun 2020 07:58:33 +0000"  >&lt;p&gt;Ok, let&apos;s do that&lt;/p&gt;</comment>
                            <comment id="3147887" author="dmitry.agranat" created="Sun, 31 May 2020 12:21:52 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilien%40sendinblue.com&quot; class=&quot;user-hover&quot; rel=&quot;emilien@sendinblue.com&quot;&gt;emilien@sendinblue.com&lt;/a&gt;, we can still see the presence of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40703&quot; title=&quot;Resource leakage + slowness after creating and deleting few thousands of DBs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40703&quot;&gt;&lt;del&gt;SERVER-40703&lt;/del&gt;&lt;/a&gt; (where the cause of the growing slowness is &quot;dhandle lock application thread time waiting&quot; which is related to the number of dhandles over time):&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/263443/263443_dhandle+lock+application+thread+time+waiting.png&quot; width=&quot;100%&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;I suggest closing this as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40703&quot; title=&quot;Resource leakage + slowness after creating and deleting few thousands of DBs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40703&quot;&gt;&lt;del&gt;SERVER-40703&lt;/del&gt;&lt;/a&gt; and watching &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40703&quot; title=&quot;Resource leakage + slowness after creating and deleting few thousands of DBs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40703&quot;&gt;&lt;del&gt;SERVER-40703&lt;/del&gt;&lt;/a&gt; for progress.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;
</comment>
                            <comment id="3119679" author="emilien@sendinblue.com" created="Wed, 27 May 2020 09:25:02 +0000"  >&lt;p&gt;Sorry, that was another one that crashed because of bad configuration, i uploaded the correct one&lt;/p&gt;</comment>
                            <comment id="3119667" author="dmitry.agranat" created="Wed, 27 May 2020 09:08:39 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilien%40sendinblue.com&quot; class=&quot;user-hover&quot; rel=&quot;emilien@sendinblue.com&quot;&gt;emilien@sendinblue.com&lt;/a&gt;, I see that after creating about 900 tables, the test abruptly ends at &lt;tt&gt;2020-05-25T08:36:46.898Z&lt;/tt&gt; UTC after which no data is available. Was this intentional?&lt;/p&gt;
</comment>
                            <comment id="3106409" author="emilien@sendinblue.com" created="Tue, 26 May 2020 07:56:08 +0000"  >&lt;p&gt;it&apos;s uploaded&lt;/p&gt;</comment>
                            <comment id="3106194" author="dmitry.agranat" created="Mon, 25 May 2020 21:41:13 +0000"  >&lt;p&gt;Yes please upload the &lt;tt&gt;diagnostic.data&lt;/tt&gt; when running on 4.4.-rc6 &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilien%40sendinblue.com&quot; class=&quot;user-hover&quot; rel=&quot;emilien@sendinblue.com&quot;&gt;emilien@sendinblue.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3106011" author="emilien@sendinblue.com" created="Mon, 25 May 2020 16:19:24 +0000"  >&lt;p&gt;@dmitry.agranat I tried with 4.4-rc6 and haven&apos;t got better result, do you want the diagnostic files ?&lt;/p&gt;</comment>
                            <comment id="3101946" author="dmitry.agranat" created="Thu, 21 May 2020 11:25:29 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilien%40sendinblue.com&quot; class=&quot;user-hover&quot; rel=&quot;emilien@sendinblue.com&quot;&gt;emilien@sendinblue.com&lt;/a&gt;, the provided data shows exactly what you are reporting here.&lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/261956/261956_SERVER-48213.png&quot; width=&quot;100%&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;This problem can be broke down into two sub-issues:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40703&quot; title=&quot;Resource leakage + slowness after creating and deleting few thousands of DBs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40703&quot;&gt;&lt;del&gt;SERVER-40703&lt;/del&gt;&lt;/a&gt; (where the cause of the growing slowness is &quot;dhandle lock application thread time waiting&quot; which is related to the number of dhandles over time)&lt;/li&gt;
	&lt;li&gt;Before MongoDB 4.4, we used MODE_X for creating collections and indexes (we use MODE_IX starting from MongoDB 4.4)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Though &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40703&quot; title=&quot;Resource leakage + slowness after creating and deleting few thousands of DBs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40703&quot;&gt;&lt;del&gt;SERVER-40703&lt;/del&gt;&lt;/a&gt; is still not fixed, I wonder if you could try this with the latest release candidate of MongoDB 4.4 to see if this helps to improve this workload&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3094548" author="emilien@sendinblue.com" created="Tue, 19 May 2020 10:32:50 +0000"  >&lt;p&gt;Hello&#160;@dmitry.agranat , i uploaded the file as requested&lt;/p&gt;</comment>
                            <comment id="3091321" author="dmitry.agranat" created="Sun, 17 May 2020 11:35:16 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=emilien%40sendinblue.com&quot; class=&quot;user-hover&quot; rel=&quot;emilien@sendinblue.com&quot;&gt;emilien@sendinblue.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Would you please archive (tar or zip) the mongod.log files and the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) covering the time of this test and upload them to this &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/491daaf6-69db-4093-a34c-71408cbab2c4.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support uploader&lt;/a&gt; location?&lt;/p&gt;

&lt;p&gt;Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="740629">SERVER-40703</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="740629">SERVER-40703</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="261956" name="SERVER-48213.png" size="219596" author="dmitry.agranat@mongodb.com" created="Thu, 21 May 2020 11:25:05 +0000"/>
                            <attachment id="260554" name="databases creation benchmarks - 4.2 databases creation no load.csv" size="59239" author="emilien@sendinblue.com" created="Thu, 14 May 2020 11:54:06 +0000"/>
                            <attachment id="263443" name="dhandle lock application thread time waiting.png" size="96067" author="dmitry.agranat@mongodb.com" created="Sun, 31 May 2020 12:19:48 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.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>Sun, 17 May 2020 11:35:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 36 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_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_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>dmitry.agranat@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 36 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>emilien@sendinblue.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxl8z3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx8ivj:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;I ran this script against a mongo 4.2&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/emilien-puget/6f9d2f840d4dbe0e613da8c634bf2cc2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/emilien-puget/6f9d2f840d4dbe0e613da8c634bf2cc2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;and got this result&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/260554/260554_databases+creation+benchmarks+-+4.2+databases+creation+no+load.csv&quot; title=&quot;databases creation benchmarks - 4.2 databases creation no load.csv attached to SERVER-48213&quot;&gt;databases creation benchmarks - 4.2 databases creation no load.csv&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

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

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