This storage engine can function as an alternative backend for Basho's Riak/KV. See also: SQLite4
Put these values in your app.config
in the lsm_tree
section
{lsm_tree, [
{data_root, "./data/lsm_tree"}
]},
This is an experimental backend, it should not be used for production deployments. The goal is to understand the operational features of the log-structured merge tree written for use in SQLite version 4, nothing else.
Deploy lsm_tree
into a Riak devrel cluster using the enable-lsm_tree
script. Clone the riak
repo, change your working directory to it, and then
execute the enable-lsm_tree
script. It adds lsm_tree
as a dependency, runs
make all devrel
, and then modifies the configuration settings of the
resulting dev nodes to use the lsm_tree storage backend.
git clone git://github.com/basho/riak.git
mkdir riak/deps
cd riak/deps
git clone git://github.com/basho-labs/riak_kv_lsm_tree_backend.git
cd ..
./deps/riak_kv_lsm_tree_backend/enable-lsm_tree