Aurora sysbench压测

加载数据

db.t2.medium
time ./sysbench --test=tests/db/oltp.lua --mysql-host=aurorabenchmark --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.large
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr4largetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr4xlargetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.2xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr42xlargetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.4xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr44xlargetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.8xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr48xlargetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
db.r4.16xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr416largetest --mysql-port=3306 --mysql-user=larry --mysql-password=' mypasswd' --mysql-db=sysbenchmark --mysql-table-engine=innodb --oltp-table-size=25000000 --oltp-tables-count=50 --db-driver=mysql prepare
View Code

 

百分百读压测

客户端X4

cd /usr/local/src/sysbench/sysbench

db.r4.16xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr416largetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=500 run

db.r4.8xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr48xlargetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=500 run

db.r4.4xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr44xlargetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=500 run

db.r4.2xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr42xlargetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=500 run

db.r4.xlarge
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr4xlargetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=400 run

db.r4.large
time ./sysbench --test=tests/db/oltp.lua --mysql-host=dbr4largetest --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=200 run

db.t2.medium
time ./sysbench --test=tests/db/oltp.lua --mysql-host=aurorabenchmark --oltp-tables-count=50 --mysql-user=larry --mysql-password='mypasswd' --mysql-port=3306 --db-driver=mysql --oltp-tablesize=25000000 --mysql-db=sysbenchmark --max-requests=0 --oltp_simple_ranges=0 --oltp-distinct-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 --max-time=3600 --oltp-read-only=on --report-interval=10 --num-threads=20 run
View Code

 

 

       

 

posted @ 2017-11-29 12:26  geek_ace  阅读(373)  评论(0编辑  收藏  举报