Benchmark Kit (BMK-kit)
BMK-kit is used internally by the MySQL Development Team. It provides a simple way to run MySQL performance test workloads. It is designed to avoid the most common benchmarking errors. Along with "standard" Sysbench MySQL workloads, BMK-kit also provides extended options to enable testing scenarios closer to customer production environments.
BMK-kit is is built on Sysbench-1.1 Lua.
TPCC and dbSTRESS benchmarks are included for additional performance testing.
DBT2 Benchmark Tool
The DBT2 Benchmark Tool can be used to run automated benchmarks for MySQL and MySQL Cluster. It supports three types of benchmarks:
It has been primarily used on Linux x86_64 platforms, but occasional benchmarks have also been run on Solaris and Windows. It can be used to test MySQL Cluster 8.0.
DBT2 is an open source benchmark that mimics an OLTP application for a company owning large amounts of warehouses. It contains transactions to handle New Orders, Order Entry, Order Status, Payment and Stock handling. The transactions are a mix of read and write transactions. Using MySQL the benchmark tests a single MySQL Server instance. Using MySQL Cluster the benchmark tool can drive large distributed tests with many MySQL Cluster Data nodes and MySQL Server instances. The DBT2 Benchmark Tool provides scripts to automate execution of these benchmarks.
The DBT2 tarball also contains a benchmark tool using PowerShell on Windows to run sysbench on Windows. There is also scripts mimicing top on Windows. Finally there is also a set of simple scripts to use the perf tool on Linux.
FlexAsynch is a benchmark specifically developed to test scalability of MySQL Cluster. It is found in any MySQL Cluster source tarball under storage/ndb/test/ndbapi. The features required to run it in this parallel manner requires a MySQL Cluster 7.x version released after the 15th of October 2011. The DBT2 Benchmark Tool can be used to run distributed tests with many MySQL Cluster Data nodes and many flexAsynch benchmark programs in a completely automated fashion. The latest version of flexAsynch mainly exists in the source tree for the 2 most recent versions.
SysBench Benchmark Tool
Sysbench is a popular open source benchmark to test open source DBMSs. The DBT2 Benchmark Tool can be used to run automated test runs of Sysbench for a single MySQL Server instance running InnoDB or running a MySQL Cluster set-up with a single MySQL Server instance.
All automated benchmark programs assume that the machines can be accessed using ssh. All benchmarks require a MySQL source or binary tarball packed with gzip. The Sysbench benchmark also requires usage of the Sysbench tarball downloadable below. This tarball (Sysbench 0.4.12.16) contains a number of extra features added to Sysbench 0.4.12 which are used by the DBT2 Benchmark Tool. The DBT2 Benchmark Tool tarball (dbt2-0.37.50) is based on dbt2-0.37 with a lot of changes and additions to automate benchmark runs.