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

     

           

  • 相关阅读:
    Nilearn教程系列(2)-3D和4D niimgs:处理和可视化
    Python-EEG工具库MNE中文教程(9)-参考电极应用
    EEMD算法原理与python实现
    Python-EEG工具库MNE中文教程(8)-参考电极简介
    联想笔记本 thinkpad BIOS 超级密码 Supervisor Password 清除 破解 亲测有效 转载地址https://blog.csdn.net/ot512csdn/article/details/72571674
    C Primer Plus 学习 第四章
    C Primer Plus 学习 第三章
    六 BASH 高级变量
    五 shell 变量与字符串操作
    四 shell基本命令
  • 原文地址:https://www.cnblogs.com/geek-ace/p/7919729.html
Copyright © 2011-2022 走看看