您的位置:首页 > 数据库 > MariaDB

TiDB VS MariaDB10.1.19 Enterprise性能压测

2017-01-02 00:35 656 查看
视频演示:
https://pan.baidu.com/s/1qYRMp7Q

工具sysbench0.5 128并发 10张表100万行
硬件配置R720 64G RAID10(15000转)

分别压测100秒

sysbench --test=/root/soft/sysbench-0.5/sysbench/tests/db/oltp.lua --mysql-table-engine=innodb --oltp-table-size=1000000 --max-requests=0 --max-time=100 --num-threads=128 --oltp-tables-count=10 --report-interval=10 --mysql-host=192.168.143.244 --mysql-port=4000 --mysql-user=admin --mysql-password=159753 --mysql-db=test run

############################################
pd+tidb在一台机器部署 192.168.143.244
端口:4000

tikv两台 192.168.143.245/246
参数
[rocksdb.defaultcf]
block-cache-size(30G)

[rocksdb.writecf]
block-cache-size(10G)

[rocksdb.raftcf]
block-cache-size(10G)

[ 10s] threads: 128, tps: 823.93, reads: 11680.25, writes: 3313.20, response time: 363.02ms (95%), errors: 0.00, reconnects: 0.00
[ 20s] threads: 128, tps: 781.00, reads: 10920.40, writes: 3117.30, response time: 368.50ms (95%), errors: 0.00, reconnects: 0.00
[ 30s] threads: 128, tps: 780.20, reads: 10919.70, writes: 3118.60, response time: 366.96ms (95%), errors: 0.00, reconnects: 0.00
[ 40s] threads: 128, tps: 728.80, reads: 10214.74, writes: 2920.51, response time: 371.27ms (95%), errors: 0.00, reconnects: 0.00
[ 50s] threads: 128, tps: 672.90, reads: 9417.76, writes: 2690.39, response time: 393.23ms (95%), errors: 0.00, reconnects: 0.00
[ 60s] threads: 128, tps: 617.00, reads: 8632.80, writes: 2469.40, response time: 418.37ms (95%), errors: 0.00, reconnects: 0.00
[ 70s] threads: 128, tps: 610.20, reads: 8536.60, writes: 2434.20, response time: 413.39ms (95%), errors: 0.00, reconnects: 0.00
[ 80s] threads: 128, tps: 634.50, reads: 8885.50, writes: 2544.10, response time: 413.76ms (95%), errors: 0.00, reconnects: 0.00
[ 90s] threads: 128, tps: 676.30, reads: 9475.40, writes: 2707.20, response time: 392.52ms (95%), errors: 0.00, reconnects: 0.00
[ 100s] threads: 128, tps: 645.10, reads: 9031.90, writes: 2579.20, response time: 404.45ms (95%), errors: 0.00, reconnects: 0.00
############################################

MariaDB BP(30G)

[ 10s] threads: 128, tps: 2678.24, reads: 37599.85, writes: 10720.26, response time: 70.10ms (95%), errors: 0.00, reconnects: 0.00
[ 20s] threads: 128, tps: 2851.70, reads: 39931.01, writes: 11405.40, response time: 58.07ms (95%), errors: 0.00, reconnects: 0.00
[ 30s] threads: 128, tps: 2846.10, reads: 39843.50, writes: 11384.70, response time: 58.52ms (95%), errors: 0.00, reconnects: 0.00
[ 40s] threads: 128, tps: 2490.69, reads: 34935.71, writes: 9972.07, response time: 60.70ms (95%), errors: 0.00, reconnects: 0.00
[ 50s] threads: 128, tps: 2354.21, reads: 32900.38, writes: 9411.82, response time: 123.50ms (95%), errors: 0.00, reconnects: 0.00
[ 60s] threads: 128, tps: 2839.70, reads: 39745.05, writes: 11358.19, response time: 59.33ms (95%), errors: 0.00, reconnects: 0.00
[ 70s] threads: 128, tps: 2854.40, reads: 39969.74, writes: 11416.48, response time: 58.03ms (95%), errors: 0.00, reconnects: 0.00
[ 80s] threads: 128, tps: 2846.22, reads: 39841.44, writes: 11384.47, response time: 58.70ms (95%), errors: 0.00, reconnects: 0.00
[ 90s] threads: 128, tps: 2334.59, reads: 32679.89, writes: 9338.67, response time: 76.75ms (95%), errors: 0.00, reconnects: 0.00
[ 100s] threads: 128, tps: 2843.30, reads: 39819.07, writes: 11374.99, response time: 59.16ms (95%), errors: 0.00, reconnects: 0.00
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tidb