This repository was archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 619
OLTPBenchmark
Joy Arulraj edited this page Jan 15, 2016
·
16 revisions
## Clone the oltpbench Git Repository
git clone https://github.com/oltpbenchmark/oltpbench.git
## Compile OLTP-Benchmark using the provided Ant script
ant
Before running any benchmark clients, ensure that you have started the Peloton server. You can start the server using pg_ctl, as described here.
The following command first loads the ycsb database (create=true load=true), and then runs the workload described in the scripts/oltpbenchmark/peloton_ycsb_config.xml file. The results (latency, throughput) are summarized into 5 second buckets (-s 5), and the output is written into two files: outputfile.res (aggregated) and outputfile.raw (detailed).
## Run the benchmark on Peloton
./oltpbenchmark -b ycsb -c \
scripts/oltpbenchmark/peloton_ycsb_config.xml \
--create=true --load=true --execute=true -s 5 \
-o outputfile