<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed May 22 06:54:29 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-4937/MB-4937.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-4937] ep-engine provides disk fragmentation statistics</title>
                <link>http://www.couchbase.com/issues/browse/MB-4937</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Currently, there is no easy way to understand the disk fragmentation of SQLite. Expose this stat that should be calculated in ep_engine and exposed via REST API and the UI to better understand SQLite fragmentation over time so that users can understand when maintenance of the system using swap rebalance, vacuuming or other methods is required. </description>
                <environment></environment>
            <key id="16362">MB-4937</key>
            <summary>ep-engine provides disk fragmentation statistics</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>1.8.1-release-notes</label>
                    </labels>
                <created>Thu, 22 Mar 2012 09:11:49 -0500</created>
                <updated>Mon, 14 May 2012 12:25:24 -0500</updated>
                    <resolved>Tue, 3 Apr 2012 17:30:36 -0500</resolved>
                            <version>1.7.2</version>
                <version>1.8.0</version>
                                <fixVersion>1.8.1</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="25449" author="steve" created="Tue, 3 Apr 2012 16:37:15 -0500"  >ns_server can grab histogram from ep-engine and calculate average.</comment>
                    <comment id="25450" author="steve" created="Tue, 3 Apr 2012 16:42:58 -0500"  >to add usage notes</comment>
                    <comment id="25459" author="chiyoung" created="Tue, 3 Apr 2012 17:30:19 -0500"  >The stat subkey is &amp;quot;kvtimings&amp;quot;. For example, the following shows how we can grab read/write seek histograms from the underlying kvstore:&lt;br/&gt;
&lt;br/&gt;
Chiyoung-MacBook:ep-engine chiyoung$ ./management/cbstats 127.0.0.1:11210 kvtimings&lt;br/&gt;
&amp;nbsp;readSeek (23 total)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 - 2         : ( 21.74%) 5 ###########################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8 - 16        : ( 26.09%) 1 #####&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;64 - 128      : ( 47.83%) 5 ###########################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;256 - 512     : ( 73.91%) 6 #################################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;512 - 1KB     : ( 78.26%) 1 #####&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1KB - 2KB     : ( 95.65%) 4 ######################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2KB - 4KB     : (100.00%) 1 #####&lt;br/&gt;
&amp;nbsp;writeSeek (77 total)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4 - 8         : ( 28.57%) 22 ####################################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8 - 16        : ( 36.36%)  6 #########&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16 - 32       : ( 57.14%) 16 ##########################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;256 - 512     : ( 61.04%)  3 ####&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;512 - 1KB     : ( 84.42%) 18 #############################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1KB - 2KB     : ( 97.40%) 10 ################&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2KB - 4KB     : (100.00%)  2 ###&lt;br/&gt;
</comment>
                    <comment id="27144" author="dipti" created="Sun, 13 May 2012 21:29:44 -0500"  >Chiyoung, can you provide some guidelines about what these mean, and how to interpret them so that we can add to the documentation. </comment>
                    <comment id="27170" author="chiyoung" created="Mon, 14 May 2012 12:25:24 -0500"  >These timings show the distribution of disk head seek distance that have been performed on every read / write operation on Sqlite. We expect that these seek distance would be increased over the time as the sqlite is getting fragmented more and more.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 3 Apr 2012 16:37:15 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5255</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>