.. | |||
cmd | Loading last commit info... | ||
README.md | |||
config.go | |||
dolt.go | |||
mysql.go | |||
results.go | |||
run.go | |||
sample-tpcc-config.json |
TPCC runner is a tool for running TPCC tests against sql servers. These tests run against the Percona Labs repo here.
The tool requires a json config file to run.
$ go run cmd/main.go --config=sample-tpcc-config.json
Note to this run this locally you need to have the TPCC repo cloned. The ScriptDir
variable should then be linked
to the path of the cloned repo.
Configuration:
{
"Servers": "[...]",
"ScriptDir":"/Users/vinairachakonda/go/src/dolthub/sysbench-tpcc",
"ScaleFactors": [1]
}
Servers
: The server defintions to run the benchmark against. Accepts Dolt and MySQL configuratiosn.
ScriptDir
: The directory of the TPCC testing scripts
ScaleFactors
: The number of warehouse to be generated in the test case.
NomsBinFormat
: The NomsBinFormat to use for this benchmark.
Note that this configuration is still incomplete for the amount of the variable TPCC varies. This intentional as we
want expose small amounts of independent variables until Dolt gets more robust. See config.go
to get a breakdown of all the
variables TPCC varies.