sysbench 安装及生成模拟数据
wget --content-disposition https://packagecloud.io/akopytov/sysbench/packages/el/6/sysbench-1.0.19-1.el6.x86_64.rpm/download.rpm
rpm -ivh sysbench-1.0.19-1.el6.x86_64.rpm
生成5张表,每张表100万行
sysbench oltp_common --tables=5 --table-size=1000000 --db-driver=mysql --mysql-db=yzxd --mysql-user=root --mysql-password=ocm123 --mysql-socket=/tmp/mysql.sock prepare
相关推荐
chichichi0 2020-05-30
vivenwan 2020-05-10
Henryztong 2019-11-20
huangshm 2019-11-19
王艺强 2019-11-17
Idealityhunter 2011-05-17
lay 2015-10-20
minerk 2019-06-27
愿天下再无BUG 2019-06-13
phpzhi 2018-08-15
touchshome 2018-08-03
windsha 2013-07-28
旺旺CTO 2018-06-06
wanziidianxia 2018-03-24
xiaojiang0 2018-02-23
lapiggy 2017-01-09
旺旺CTO 2017-01-09
建宇 2012-05-24
javahanyutel 2016-07-26