Joe,
You want to start here:
http://docs.basho.com/riak/latest/ops/advanced/backends/leveldb/#Tiered-Storage
<http://docs.basho.com/riak/latest/ops/advanced/backends/leveldb/#Tiered-Storage>
In addition to the 3 configuration lines given in that section, you need a
fourth:
leveldb.data_root=“./leveldb”
You need to make sure the leveldb.tiered.path.fast and .path.slow exist before
starting Riak AND create the ./leveldb directory within the two paths. Riak
will not create those paths for you.
Matthew
> On Aug 5, 2015, at 9:27 AM, Joe Olson <[email protected]> wrote:
>
>
> Suppose I have come to the conclusion each of my LevelDB backed Riak nodes
> needs to hold 2TB of data.
>
> Also suppose I have the ability to store data on more expensive SSD drives,
> and less expensive magnetic drives.
>
> My question: What should leveldb.tiered be set to in /etc/riak/riak.conf?
>
> I know from the LevelDB docs on the Basho Riak site
> (http://docs.basho.com/riak/latest/ops/advanced/backends/leveldb/), each
> level holds 10x the data the level above it holds, starting at level 1 with
> 10MB.
>
> If this is correct, the data capacities of each level should be:
>
> Level 1: 10MB
> Level 2: 100 MB
> Level 3: 1 GB
> Level 4: 10 GB
> Level 5: 100 GB
> Level 6: 1 TB
>
> If this is this case, I would assume using leveldb.tiered = 5 (100GB) or
> leveldb.tiered = 6 (1 TB) of SSD capacity needed. The remainder (either 1.9
> TB or 1 TB) will be stored on the magnetic drives on a different mount point.
>
> Am I reasoning this out correctly?
>
> If so, will my SSD drives ever *exceed* 100GB or 1TB of data? Not that I'd
> just it that close, anyway....
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com