<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:42 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-315] Different indexes for master and slaves</title>
                <link>https://jira.mongodb.org/browse/SERVER-315</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have indexes dedicated to queries on the master and indexes dedicated to queries on the slave.&lt;/p&gt;

&lt;p&gt;Would be possible to create different indexes for a master and its slaves to save space and enhance write performance ?&lt;br/&gt;
Creating an index in a slave raises an error in &quot;mongod&quot;.&lt;br/&gt;
Could the replication feature only replicate data, and not indexes creation/ deletion ? &lt;/p&gt;

&lt;p&gt;Original question on Google Groups: &lt;a href=&quot;http://groups.google.com/group/mongodb-user/browse_thread/thread/c2ebf3bfd09cf44e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://groups.google.com/group/mongodb-user/browse_thread/thread/c2ebf3bfd09cf44e&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="10644">SERVER-315</key>
            <summary>Different indexes for master and slaves</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="nicolas_">Nicolas Fouch&#233;</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Sep 2009 11:21:20 +0000</created>
                <updated>Tue, 29 May 2012 14:53:17 +0000</updated>
                            <resolved>Mon, 22 Mar 2010 10:54:39 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>5</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="13821" author="eliot" created="Mon, 26 Apr 2010 13:51:13 +0000"  >&lt;p&gt;in a release&lt;/p&gt;</comment>
                            <comment id="13123" author="eliot" created="Mon, 22 Mar 2010 10:54:39 +0000"  >&lt;p&gt;So - this is already possible using a little bit of a trick.&lt;/p&gt;

&lt;p&gt;If you start up your slave with --slave AND --master, you&apos;ll be able to create indexes on it.&lt;br/&gt;
Those indexes will only live there and should do what you need.&lt;/p&gt;</comment>
                            <comment id="13076" author="dowski" created="Wed, 17 Mar 2010 10:03:09 +0000"  >&lt;p&gt;We have a fairly write heavy application and I don&apos;t want to penalize the core application or use space on the master host for extra indexes.  That said, the extra indexes would be useful for some advanced querying that we&apos;d like to do.  If would be useful to be able to define the additional indexes only on the slave where we plan to do the advanced querying and leave the master alone.&lt;/p&gt;</comment>
                            <comment id="10799" author="erwan" created="Fri, 25 Sep 2009 13:04:56 +0000"  >&lt;p&gt;From an &quot;operations&quot; point of view, having a way to tell a slave which indexes are to be replicated or not would be very interesting for us.&lt;/p&gt;

&lt;p&gt;Maybe some meta-data inside the local database that we could use to tweak the replication process ?&lt;/p&gt;

&lt;p&gt;I suppose that you already have similar data stored in the slave&apos;s local database (as i had to remove it to have one slave connect to another master) ...&lt;/p&gt;

</comment>
                            <comment id="10798" author="nicolas_" created="Fri, 25 Sep 2009 11:35:48 +0000"  >&lt;p&gt;Our perfect use case:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;adding an option to &quot;bin/mongo&quot; to avoid the replication of indexes from the master&lt;/li&gt;
	&lt;li&gt;allowing a client connected to a slave to create/delete indexes&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 Sep 2009 13:04:56 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dowski</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>erwan</customfieldvalue>
            <customfieldvalue>nicolas_</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriikn:</customfieldvalue>

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

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

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