Skip to content

radondb/docker-tpcc

Repository files navigation

Docker hub

https://hub.docker.com/repository/docker/radondb/tpcc-mysql

Usage

docker run -it radondb/tpcc-mysql -h HOST -u USER -p PASS -d DATABASE init|load|run|help

Init database and table schema

docker run -it radondb/tpcc-mysql:1.0 -h 172.17.0.2 -u root -p 123 -d tpcc init

Load tpcc sample data

docker run -it radondb/tpcc-mysql:1.0 -h 172.17.0.2 -u root -p 123 -d tpcc load

Run tpcc benchmark, default 30s

docker run -it radondb/tpcc-mysql:1.0 -h 172.17.0.2 -u root -p 123 -d tpcc run

Help

docker run -it radondb/tpcc-mysql:1.0  help