Skip to content
Kristin Ann Tufte edited this page Aug 10, 2014 · 4 revisions

Welcome to the h-store wiki!

###Helpful debugging commands:

I put the following in my .bashrc to make it a little bit easier to run and debug the DB

runit () 
{ 
    ant build-java && ant hstore-prepare -Dproject=bikerstream -Dhosts="localhost:0:0" && \
ant hstore-benchmark -Dproject=bikerstream -Dclient.threads_per_host=$1 \
-Dclient.blocking=false -Dclient.txnrate=$2 -Dtrace=./traceLog -Dnoshutdown=true \
-Dsite.status_enable=true -Dsite.status_interval=10000 -Dsite.status_show_txn_info=true
}

I run it with

$ runit $NUM_OF_THREADS $TXN_RATE

###Extend the runtime of the benchmark-client

$ vim properties/default.properties

and edit the variable client.duration to however long you wish to run the benchmark client

###Watch the procedure calls in real time

$ tail -F logs/sites/site-00-localhost.log 

###Query the database directly (command line query)

./hstore bikerstream
Clone this wiki locally