<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:44: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-17538] Mongodb 3.0 with wiredtiger has poor read/aggregate performance </title>
                <link>https://jira.mongodb.org/browse/SERVER-17538</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Performance comparison for MMAPv1 and WiredTiger&lt;/p&gt;

&lt;p&gt;1. Write performance is good when using wiredtiger as a storage engine. &lt;br/&gt;
2. But read performance is very poor compared to MMAPv1 engine. &lt;/p&gt;


&lt;p&gt;Hardware Configuration: Ubuntu 12.04&lt;br/&gt;
CPU Cores: 2&lt;br/&gt;
RAM: 8GB &lt;/p&gt;

&lt;p&gt;We ran scenarios with both MMAP and wiredtiger using the same above hardware configurations. Now we finally are in a position to conclude that MMAP gives us a better performance compared to WiredTiger engine. &lt;/p&gt;

&lt;p&gt;Help would be appreciated. &lt;/p&gt;


&lt;p&gt;Is there any specific configuration params available to increase the read performance.&lt;/p&gt;</description>
                <environment></environment>
        <key id="188810">SERVER-17538</key>
            <summary>Mongodb 3.0 with wiredtiger has poor read/aggregate performance </summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="9">Done</resolution>
                                        <assignee username="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="sundarajan.s@gmail.com">Sundarajan Srinivasan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Mar 2015 10:38:48 +0000</created>
                <updated>Tue, 28 Apr 2015 23:22:30 +0000</updated>
                            <resolved>Tue, 28 Apr 2015 23:22:30 +0000</resolved>
                                    <version>3.0.0</version>
                                                    <component>Aggregation Framework</component>
                    <component>Performance</component>
                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="900400" author="ramon.fernandez" created="Tue, 28 Apr 2015 23:22:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sundarajan.s%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;sundarajan.s@gmail.com&quot;&gt;sundarajan.s@gmail.com&lt;/a&gt;, from your description I don&apos;t see evidence of a bug in the server. Different storage engines perform better in different areas, and MMAPv1 may give you better read performance than WiredTiger in some cases. Since the SERVER project is for reporting bugs or feature suggestions for the MongoDB server I&apos;m going to resolve this ticket. We run performance tests internally, and if we see any results that match this behavior and point to a bug we can re-open this ticket.&lt;/p&gt;

&lt;p&gt;For further MongoDB-related support discussion I&apos;d recommend you post on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="849949" author="sundarajan.s@gmail.com" created="Thu, 12 Mar 2015 09:41:36 +0000"  >&lt;p&gt;Please find the below information for your perusal. &lt;/p&gt;

&lt;p&gt;1. MongoDB is present in clustered environment (2 mongod + configserver + mongos) with wiredtiger enabled. &lt;br/&gt;
2. Concurrently 150 users were writing 100000 documents and reading 80000 documents in total. &lt;br/&gt;
3. I can able to say that all the writes were really good from the inference made from the system.profile collection. &lt;br/&gt;
4. But we are using aggregation queries that really takes more time. Say like 4 to 5s for a request which is really costly. &lt;br/&gt;
5. CPU utilization was maximum for 2 core used. &lt;br/&gt;
6. We are using a AWS Ubuntu server. &lt;br/&gt;
7. One last thing is, I saw a  huge amoun of  receive queue formation were the mongodb is mounted. &lt;/p&gt;

&lt;p&gt;Ubuntu Version - 12.04&lt;br/&gt;
RAM: 8 GB&lt;/p&gt;

&lt;p&gt;I am not sure on the storage type as we are using AWS version and dont think i can share the software details we are using. &lt;/p&gt;

&lt;p&gt;Any help to optimize would be really appreciated. &lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Sundar&lt;/p&gt;</comment>
                            <comment id="849235" author="ramon.fernandez" created="Wed, 11 Mar 2015 19:12:36 +0000"  >&lt;p&gt;I&apos;m afraid this is not enough information to determine whether there&apos;s a performance-related bug in WiredTiger read-heavy loads. Can you please elaborate on what kind of tests did you run? Did you use any common tools like YCSB or iibench? If you used your own software, can you please share it with us so we can track down any potential performance bottlenecks?&lt;/p&gt;

&lt;p&gt;It would be useful to know what kind of storage you used (spinning disks, SSDs, etc.) and what kind of setup did you do your testing on (stand-alone vs. replica sets, sharded vs. non-sharded).&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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>Wed, 11 Mar 2015 19:12:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 42 weeks, 1 day 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 42 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>sundarajan.s@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlb0f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs705z:</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_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|hrjb3j:</customfieldvalue>

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