<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:27:49 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-12174] mongoimport option to throttle by bytes-per-second</title>
                <link>https://jira.mongodb.org/browse/SERVER-12174</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To avoid db locks on the primaries I have wanted an option to keep things slow. E.g. to limit to ~2MB per second :&lt;/p&gt;

&lt;p&gt;mongoimport -h dev1 -d foo -c test --file a.txt --throttleBPS 2000000&lt;/p&gt;

&lt;p&gt;Maybe this could be considered a relation to the bug &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-164&quot; title=&quot;add option to mongoimport (and mongorestore) to throttle inserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-164&quot;&gt;&lt;del&gt;SERVER-9232&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="103349">SERVER-12174</key>
            <summary>mongoimport option to throttle by bytes-per-second</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="matt.kangas">Matt Kangas</assignee>
                                    <reporter username="akira.kurogane@gmail.com">&#31456; &#40658;&#37444;</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Dec 2013 02:36:15 +0000</created>
                <updated>Mon, 15 Nov 2021 17:02:32 +0000</updated>
                            <resolved>Sat, 21 Jun 2014 01:37:02 +0000</resolved>
                                                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="629786" author="matt.kangas@10gen.com" created="Sat, 21 Jun 2014 01:37:02 +0000"  >&lt;p&gt;Closing as duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-164&quot; title=&quot;add option to mongoimport (and mongorestore) to throttle inserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-164&quot;&gt;&lt;del&gt;SERVER-9232&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="481447" author="akira.kurogane@gmail.com" created="Tue, 14 Jan 2014 01:03:50 +0000"  >&lt;p&gt;New pull request #609 submitted on github to clean up the merge and unique error-code assignment issues in the first one.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/pull/609&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/609&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve given this option the name &quot;throttleBPS&quot; and chosen that the unit be bytes, rather than kilobytes or megabytes. I&apos;m not particularly attached to either of those choices though.&lt;/p&gt;

&lt;p&gt;Also I haven&apos;t made it a hidden option, which I suppose it would be at first.&lt;/p&gt;</comment>
                            <comment id="473607" author="akira.kurogane@gmail.com" created="Fri, 20 Dec 2013 06:38:07 +0000"  >&lt;p&gt;I&apos;ve put up a github pull request &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-12174&quot; title=&quot;mongoimport option to throttle by bytes-per-second&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-12174&quot;&gt;&lt;del&gt;SERVER-12174&lt;/del&gt;&lt;/a&gt; Throttled mongoimport&quot; which contains a patch that provides the functionality above.&lt;/p&gt;

&lt;p&gt;I am already using in my company&apos;s production environment (a sharded cluster with replica sets of 2 servers + 1 arbiter each). It achieves the lower lock% values in primaries during batch updates so I&apos;m no longer blocking reads to the primaries for that period.&lt;/p&gt;

&lt;p&gt;Patch also includes a jstest.&lt;br/&gt;
Only tested on Linux.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="70643">TOOLS-164</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 20 Jun 2014 21:59:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 34 weeks, 5 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>
                            9 years, 34 weeks, 5 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>matt.kangas</customfieldvalue>
            <customfieldvalue>akira.kurogane@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm507:</customfieldvalue>

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

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

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