<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:06 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-1810] ability to set minimum allocation size per collection</title>
                <link>https://jira.mongodb.org/browse/SERVER-1810</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;With the ability to set a minimum allocation size, and power of 2 allocation, you have very good control over allocation, will greatly reduce the number of moves, and have very little to no fragmentation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13124">SERVER-1810</key>
            <summary>ability to set minimum allocation size per collection</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Sun, 19 Sep 2010 03:40:44 +0000</created>
                <updated>Wed, 8 Feb 2023 15:17:53 +0000</updated>
                            <resolved>Fri, 14 Sep 2018 20:25:24 +0000</resolved>
                                                                    <component>MMAPv1</component>
                    <component>Storage</component>
                                        <votes>51</votes>
                                    <watches>43</watches>
                                                                                                                <comments>
                            <comment id="845599" author="asya" created="Sat, 7 Mar 2015 18:42:20 +0000"  >&lt;p&gt;Note that specifying initial size would not have helped in this case:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;at some point they had to add a field or do a very small model change, as a result mongo had to move every document on disk&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;since they would have had to know in advance that they will need to add specific size field(s) in the future when the collection was created.&lt;/p&gt;
</comment>
                            <comment id="338948" author="paul@wonderproxy.com" created="Sun, 19 May 2013 00:04:09 +0000"  >&lt;p&gt;With &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8775?focusedCommentId=338871#comment-338871&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-8775?focusedCommentId=338871#comment-338871&lt;/a&gt; this seems even more important. &lt;/p&gt;

&lt;p&gt;I have documents that change size radically between initial insert, and final update (~20 seconds later). I&apos;d love to give mongo guidance on how big that document is going to get. &lt;/p&gt;


&lt;p&gt;Specifying an initial size seems better to me. With documents that start quite small the padding factor could swing radically based on small changes there. &lt;/p&gt;</comment>
                            <comment id="85180" author="eliot" created="Fri, 3 Feb 2012 21:21:36 +0000"  >&lt;p&gt;Still not 100% sure of the right design.&lt;/p&gt;

&lt;p&gt;Might be better to have an initial size than padding factor.&lt;/p&gt;

&lt;p&gt;Want to have the right option - not too many.&lt;/p&gt;</comment>
                            <comment id="81055" author="antoine" created="Thu, 19 Jan 2012 19:55:24 +0000"  >&lt;p&gt;note about a recent problematic case:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;user had many documents that were only ever inserted or updated statically&lt;/li&gt;
	&lt;li&gt;as a result paddingfactor was still at 1&lt;/li&gt;
	&lt;li&gt;at some point they had to add a field or do a very small model change, as a result mongo had to move every document on disk&lt;/li&gt;
	&lt;li&gt;since they have a dozen indexes to update it resulted in massive disk IO and brought db down. Also most of the slots on disk were not reusable.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;User was surprised that such a small change would kill db.&lt;br/&gt;
It would make sense to have a way to set the minimum padding for a collection.&lt;br/&gt;
It could be set to 10% so that by default there is a bit of space for doc to grow.&lt;br/&gt;
The tradeoff is a bit more storage and some ram waste but better in general case.&lt;br/&gt;
If a user is sure never to change doc size, storage can be optimized by setting to 1.&lt;/p&gt;</comment>
                            <comment id="52325" author="dwight_10gen" created="Sat, 3 Sep 2011 00:54:41 +0000"  >&lt;p&gt;i wonder if a knob is needed, or rather if it just needs be more intelligent.&lt;/p&gt;

&lt;p&gt;it may be needed &amp;#8211; a bulk import scenario comes to mind.&lt;/p&gt;</comment>
                            <comment id="37999" author="lqs" created="Fri, 17 Jun 2011 07:10:56 +0000"  >&lt;p&gt;it&apos;s better to have three values for default/min/max. the default was 1.0/1.0/2.0&lt;/p&gt;</comment>
                            <comment id="37856" author="ganesan_pandurangan" created="Thu, 16 Jun 2011 12:55:07 +0000"  >&lt;p&gt;will this  factor override the default behavior ?&lt;/p&gt;

&lt;p&gt;Lets say I configure padding factor for a collection as 1.5 and in reality the new documents are larger than expected, will mongo still be able to adapt and set the padding factor as say 2.0 and discard what user has set ?&lt;/p&gt;</comment>
                            <comment id="28760" author="kgorman" created="Mon, 11 Apr 2011 21:53:40 +0000"  >&lt;p&gt;+1 on this being configured in a simple way per collection.&lt;/p&gt;</comment>
                            <comment id="18364" author="eliot" created="Tue, 21 Sep 2010 02:49:04 +0000"  >&lt;p&gt;Correct - per collection.&lt;/p&gt;</comment>
                            <comment id="18348" author="thiloplanz" created="Sun, 19 Sep 2010 23:36:41 +0000"  >&lt;p&gt;This would be per collection, right?&lt;/p&gt;

&lt;p&gt;And ideally it could be also changed for collections that already have data (then affecting only newly added/relocated records).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="73556">SERVER-9506</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20772">SERVER-3563</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="66734">SERVER-8775</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="101059">SERVER-11946</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="101700">SERVER-12017</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="21837">SERVER-3752</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="104034">SERVER-12224</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="79002">SERVER-9933</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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000UaTfAIAV]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 19 Sep 2010 23:36:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 49 weeks, 4 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 49 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>antoine</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ganesan_pandurangan</customfieldvalue>
            <customfieldvalue>kgorman</customfieldvalue>
            <customfieldvalue>lqs</customfieldvalue>
            <customfieldvalue>paul@wonderproxy.com</customfieldvalue>
            <customfieldvalue>thiloplanz</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpevr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4259</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|hsanpb:</customfieldvalue>

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