zoukankan      html  css  js  c++  java
  • 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

     

           

  • 相关阅读:
    【OBIEE】补全维度成员
    【OBIEE】超过了已配置的最大允许输入记录数
    【OBIEE】开启和关闭OBIEE的SSO登陆认证
    【OBIEE】OBIEE重装删除DEV前缀
    【OBIEE】OBIEE 12C迁移
    【OBIEE】OBIEE集成第三方js
    【Java】webservice调用
    【前端】汉字转拼音首字母
    【Oracle】Redhat安装Oracle 11g
    CAS单点登录:基础框架搭建(一)
  • 原文地址:https://www.cnblogs.com/geek-ace/p/7919729.html
Copyright © 2011-2022 走看看