Space usage

Justin Sheehy justin at
Sat Nov 7 14:37:14 EST 2009

Hi John,

On Wed, Nov 4, 2009 at 2:52 PM, John D. Mitchell <jdmitchell at> wrote:

> What's the overhead in riak in terms of space usage?

The main overhead is due to the replicas stored on multiple nodes.
So, if you have an n_val of 3 (the default) for a given bucket, then
all documents stored in that bucket will be stored in 3 separate
places.  Here you are making an explicit tradeoff of space usage for
availability, and you can choose the value that works best for you.

There is also a constant overhead for each stored document due to the
riak_object record wrapping the document.  Future riak releases intend
to dramatically reduce or eliminate this record.


More information about the riak-users mailing list