Move old README.md -> README.old.md, create new README.md

This commit is contained in:
Scott Lystig Fritchie 2014-05-05 22:09:03 +09:00
parent c9764bf5f6
commit 305cf34a2d

View file

@ -0,0 +1,52 @@
Shiny prototype/sandbox of distributed DBMS concepts.
Compile:
./rebar get-deps compile
Starting:
erl -pa ebin deps/*/ebin -s dbms
Things to try:
Prettyprint a record:
dbms:print_record().
Start some load:
dbms:loadgen().
Show all the debug messages:
lager:set_loglevel(lager_console_backend, debug).
Reset the loglevel because your console is flooding:
lager:set_loglevel(lager_console_backend, info).
Show all the read-repair operations:
lager:trace_console([{operation, repair}]).
Reset the traces:
lager:clear_all_traces().
Show all the PUTs against vnode 13:
lager:trace_console([{operation, put}, {id, 13}]).
Show all the keys being read between 500 and 600:
lager:trace_console([{operation, get}, {key, '>', 500}, {key, '<', 600}]).
Trace specific GET/PUT operstions:
dbms:traced_get(Key).
dbms:traced_put(Key).
Manually erase a vnode:
dbms_dynamo:wipe(VnodeID).