<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:53 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-3372] Allow indexing fields of arbitrary length</title>
                <link>https://jira.mongodb.org/browse/SERVER-3372</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The current index format has a maximum key length limitation and starting in 2.6, prevents inserting new documents that contain indexed fields exceeding this length.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19114">SERVER-3372</key>
            <summary>Allow indexing fields of arbitrary length</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="xiangyu.yao@mongodb.com">Xiangyu Yao</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Jul 2011 19:32:52 +0000</created>
                <updated>Wed, 22 Mar 2023 18:25:07 +0000</updated>
                            <resolved>Thu, 23 Aug 2018 12:02:33 +0000</resolved>
                                                                    <component>Index Maintenance</component>
                    <component>MMAPv1</component>
                                        <votes>19</votes>
                                    <watches>39</watches>
                                                                                                                <comments>
                            <comment id="1802657" author="milkie" created="Mon, 12 Feb 2018 13:56:48 +0000"  >&lt;p&gt;There are in fact quite a few limitations, including this one, that will be relaxed once the MMAPv1 storage engine is fully retired.  We don&apos;t want to make the limit configurable for other storage engines right now because it can break mixed storage engine replica sets in a way that is difficult to prevent in code, and one of the easiest ways to move from MMAPv1 to WiredTiger is indeed to use mixed storage engine replica sets.&lt;/p&gt;</comment>
                            <comment id="1802334" author="bartle" created="Mon, 12 Feb 2018 01:26:10 +0000"  >&lt;p&gt;I believe the existing limitation is a holdover from the mmapv1 engine, related to how it stored its B-Tree entries?  My understanding from reading the WiredTiger code is that this limit is purely artificial.&lt;/p&gt;

&lt;p&gt;Is it possible to just remove this limit for only the WiredTiger engine, with a note of this in the documentation, or at least make the limit configurable for WiredTiger?  Obviously if someone rebuilds onto a different engine (i.e. mmapv1) there will be problems, and that should be noted in docs, but it seems unreasonable that MongoDB should be limited by its legacy storage engine.&lt;/p&gt;</comment>
                            <comment id="1677268" author="yatishj" created="Wed, 20 Sep 2017 05:18:12 +0000"  >&lt;p&gt;Can someone give an update on when this can be expected? &lt;/p&gt;</comment>
                            <comment id="1361723" author="jakedempsey" created="Fri, 19 Aug 2016 02:32:14 +0000"  >&lt;p&gt;Has there been any movement on this issue?  I am really in a tight spot.  In our application there are millions of nodes in the tree and querying the tree and subtrees fast is critical.  We also perform billions of db transactions on the tree and we have just found the materialized path approach to be the best mechanism for our needs.  Is it possible to at least increase the allowed length?  Even just doubling the allowed key length would help us immensely. &lt;/p&gt;</comment>
                            <comment id="836608" author="jakedempsey" created="Wed, 25 Feb 2015 04:33:59 +0000"  >&lt;p&gt;I&apos;d love to see the this increased at a minimum.  In my current application where we have to build trees with 1M+ nodes, we leverage the materialized path approach and even with using short descriptors we are limited to a tree depth of ~75.  We are already approaching 60 levels deep in the tree.  This limit is causing us to have to consider a different vendor because in the near future our application will just not work b/c of this limit.&lt;/p&gt;</comment>
                            <comment id="663199" author="mdcallag" created="Fri, 18 Jul 2014 15:18:46 +0000"  >&lt;p&gt;Will this work with pluggable engines that impose a smaller limit on max key length?  For example InnoDB keys must be less than half of a page. &lt;/p&gt;</comment>
                            <comment id="73682" author="scotthernandez" created="Fri, 16 Dec 2011 03:09:42 +0000"  >&lt;p&gt;The index-spec has the key/field names. The index entries don&apos;t store&lt;br/&gt;
the field name, it is true.&lt;/p&gt;


</comment>
                            <comment id="64660" author="scotthernandez" created="Fri, 4 Nov 2011 05:56:41 +0000"  >&lt;p&gt;Right now those keys can&apos;t be indexed and aren&apos;t covered anyway. This is no worse in that case.&lt;/p&gt;</comment>
                            <comment id="64659" author="guanqun" created="Fri, 4 Nov 2011 05:40:33 +0000"  >&lt;p&gt;If this gets implemented, how do we deal with covered index? We&apos;d lose the gain from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-192&quot; title=&quot;query that just returns value in index should get data from index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-192&quot;&gt;&lt;del&gt;SERVER-192&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="61734" author="guanqun" created="Fri, 21 Oct 2011 02:37:11 +0000"  >&lt;p&gt;The indexes doesn&apos;t contain the column name. These column names are stored in namespaces.&lt;/p&gt;</comment>
                            <comment id="59550" author="geoff.gallaway" created="Mon, 10 Oct 2011 19:30:08 +0000"  >&lt;p&gt;Is there some way to figure out how many documents in a collection have keys that will exceed the maximum index size? db.collection.find({$where: &quot;this.something.length &amp;gt; 800&quot;}) is very vague. Do indexes contain the column names, etc...&lt;/p&gt;</comment>
                            <comment id="45327" author="dwight_10gen" created="Fri, 29 Jul 2011 18:00:26 +0000"  >&lt;p&gt;would need to point to start of the document in the collection rather than its exact position as exact field positions move over time when updated&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>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="576125">SERVER-36278</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="89461">SERVER-10749</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="44011">SERVER-6417</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56161">SERVER-7638</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="112993">SERVER-12834</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="245965">SERVER-22078</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32794">SERVER-5290</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="150922">SERVER-14791</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14913">SERVER-2633</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="214836">SERVER-19281</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="404827">SERVER-30188</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>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000UaZ4FIAV, 500A000000a9AUkIAM, 500A000000aQoXPIA0, 500A000000at48nIAA]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 29 Jul 2011 18:00:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-284</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>dan.larkin-york@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 2 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>bartle</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>geoff.gallaway</customfieldvalue>
            <customfieldvalue>guanqun</customfieldvalue>
            <customfieldvalue>jakedempsey</customfieldvalue>
            <customfieldvalue>mdcallag</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>xiangyu.yao@mongodb.com</customfieldvalue>
            <customfieldvalue>yatishj</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrowh3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4544</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="2456">Storage NYC 2018-08-27</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|hrj0hb:</customfieldvalue>

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