Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.28 KB

Benchmarking

Following the benchmark from the cockroachdb docs.

Deploy cluster

Deploy the cluster using the terraform scripts in the code directory. This will deploy the resinfra cluster and install a cockroachdb service on the worker VMs.

Running the benchmark

On the benchmark VM, run the following:

$ wget https://edge-binaries.cockroachdb.com/cockroach/workload.LATEST -O workload; chmod 755 workload
$ ./workload init tpcc --warehouses 100 "postgres://[email protected]:26257?sslmode=disable"

This will download the required data and insert the tables into the cockroach cluster.

To execute the benchmark, run:

./workload run tpcc \
--warehouses 100 \
--ramp 1m \
--duration 30m \
--histograms benchmark_results	\
 postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable postgres://[email protected]:26257?sslmode=disable

For benchmark results, see respective folders.