sysbench/

directory
v0.0.0-...-e9efb70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2019 License: MIT

README

Sysbench toolbox

Benchmark

The script ./bench.sh can help you run sysbench to benchmark different databases. Below are some examples.

OLTP
# Load data into MySQL and TiDB
PORT=3306 ./bench.sh mysql oltp_point_select prepare
PORT=4000 ./bench.sh tidb oltp_point_select prepare

# Run some oltp workloads
PORT=3306 ./bench.sh mysql oltp_read_write run

# Save the result to another directory 
OUTPUT=./20190601 PORT=3306 ./bench.sh mysql oltp_update_index run
TPCC
PORT=3306 SCALE=100 ./bench.sh mysql tpcc prepare
PORT=3306 SCALE=100 ./bench.sh mysql tpcc run
Blob
# TODO: support more blob commands soon
PORT=3306 BLOB_LENGTH=1000 ./bench.sh mysql blob_point_select prepare
PORT=3306 BLOB_LENGTH=1000 ./bench.sh mysql blob_update_non_index run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL