Skip to content

Commit

Permalink
Add MemtableSizeInMB and MemtableObjectCountInMillions to the default…
Browse files Browse the repository at this point in the history
… config. Uses a more conservative value for MemtableSizeInMB the default. Patch by Eric Evans; reviewed by jbellis for #51
  • Loading branch information
Jonathan Ellis committed Apr 15, 2009
1 parent 75d4390 commit 98c808e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions conf/storage-conf.xml
Expand Up @@ -22,6 +22,19 @@
<MetadataDirectory>/var/cassandra/system</MetadataDirectory>
<CommitLogDirectory>/var/cassandra/commitlog</CommitLogDirectory>
<CommitLogRotationThresholdInMB>128</CommitLogRotationThresholdInMB>
<!--
The maximum amount of data to store in a memtable before flushing it to
disk. Note: There is one memtable per column family, and this threshold
is based solely on the amount of data stored, not actual heap memory
usage (there is some overhead in indexing the columns).
-->
<MemtableSizeInMB>64</MemtableSizeInMB>
<!--
The maximum number of columns in millions. Like MemtableSizeInMB above,
this is used to impose a limit on how large a memtable can grow before
it is flushed to disk.
-->
<MemtableObjectCountInMillions>1</MemtableObjectCountInMillions>
<GangliaServers>
<GangliaServer>127.0.0.1:12000</GangliaServer>
</GangliaServers>
Expand Down

0 comments on commit 98c808e

Please sign in to comment.