Measuring Riak disk usage
paul at luminoso.com
Wed Apr 10 14:25:10 EDT 2013
So as far as profiling disk usage of certain newly created objects for
future planning is there a specific query that might return recently
created objects and their size on disk?
Looking at the contents of .../riak/leveldb I can see each of the nodes and
the sorted string tables. I can follow the performance [du- h] of the
leveldb folder overall as data is added but the feature/command we're
looking for is how we're going to profile now in order to plan for future
disk usage. Something like http://fqdn.hostname.com:8098/riak/usage
Is this something that limited to Riak Enterprise?
On Wed, Apr 10, 2013 at 2:17 PM, Ben McCann <ben at benmccann.com> wrote:
> Cool. Thanks for the explanation.
> On Wed, Apr 10, 2013 at 10:55 AM, Reid Draper <reiddraper at gmail.com>wrote:
>> On Apr 10, 2013, at 1:45 PM, Jeremiah Peschka <jeremiah.peschka at gmail.com>
>> If you've installed from the apt/yum repository you've installed a single
>> Riak node on your machine. Riak, though, is configured by default to write
>> data to three servers. If some of those servers aren't available, Riak is
>> going to write to a different server via hinted handoff. Since you are
>> only running one node, that single node receives all copies of your data in
>> the hopes that some day the other Riak servers in the cluster will come
>> back for their data.
>> This isn't quite true. A single node cluster is just going to simply
>> store three copies on 3 of its local vnodes. No hinted handoff is involved.
>> If you add nodes to the cluster, as Evan said, data will be distributed
>> amongst them.
>> tl;dr, Riak will store three copies on your data, by default, even if
>> you're using a single server.
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users