sysbench安装使用
1.下载安装包 https://github.com/akopytov/sysbench
shell> wget https://github.com/akopytov/sysbench/archive/1.0.zip -O "sysbench-1.0.zip"
shell> unzip sysbench-1.0.zip
shell> cd sysbench-1.0
- 安装依赖库
yum install automake libtool -y
3.开始安装
shell> ./autogen.sh
shell> ./configure
#ERROR: cannot find MySQL libraries. If you want to compile with MySQL support 没找到mysql库 需要用参数指定下 --with-mysql-includes和--with-mysql-libs
shell> ./configure --with-mysql-includes=/app/teledb/mysql/include/ --with-mysql-libs=/app/teledb/mysql/lib/
shell> make
shel

本文介绍了如何在Linux系统中安装sysbench,并详细讲解了如何使用sysbench对MySQL数据库进行性能测试,包括下载安装步骤、依赖库安装、测试执行以及结果解读和数据清理的过程。
最低0.47元/天 解锁文章
685

被折叠的 条评论
为什么被折叠?



