• 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

     

           

  • 相关阅读:
    C#函数参数前的修饰符
    C#正则表达式简单案例解析
    C#正则表达式
    C#反射Reflection
    C#事件
    C#委托的使用
    无法解析主机报错
    SparkStreaming对接rabbitMQ
    load文件到hive,并保存
    kafka模式对比
  • 原文地址:https://www.cnblogs.com/geek-ace/p/7919729.html
Copyright © 2020-2023  润新知