Please recommend a performance testing tool for MySQL under Ubuntu / Debian

I would like to test the performance of my MySQL MyISAM and InnoDB modules under Debian or Ubuntu Server for CPU and memory consumption. I need to simulate many simultaneous reads, writes, and updates. I can set up a separate sandbox, similar to my production server, for testing.

+4
source share
4 answers

For Debian, sysbench is hard to beat. This is a simple 1-2-3:

  • Installation

    sudo apt-get install sysbench

  • Preparation

    sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword prepare

  • Benchmark

    sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run

+6
source

MYSQL Workbench should do.

http://wb.mysql.com/

0
source

Jmeter will also work using the Jdbc sampler.

http://jmeter.apache.org/usermanual/intro.html

0
source

You can try the following: http://osdb.sourceforge.net/

0
source

Source: https://habr.com/ru/post/1337369/


All Articles