• GreatSQL vs MySQL性能测试来了,速围观~


    1.结论先行

    1. 无论ibp(innodb_buffer_pool_size)是否充足,MySQL的性能都远不如GreatSQL。

    2. MySQL的性能平均约为GreatSQL的70%(最高84.5%,最低61.7%)。

    3. 在ibp充分的情况下,随着并发数的增加,MySQL并没有表现出该有的性能提升,反倒掉头向下,可见还是不够稳定。

    4. 在ibp不够的情况下,GreatSQL开启thread pool性能有所提升;当ibp充足的情况下,区别就不大了。

    MySQL vs GreatSQL性能数据对比

    48G 96G 144G 192G avg
    MySQL  vs GreatSQL 0.6173 0.735 0.721 0.8449 0.7295

    各数据库版本分别为

    • MySQL 8.0.30 MySQL Community Server - GPL

    • GreatSQL 8.0.25-16 GreatSQL, Release 16, Revision 8bb0e5af297

    2.测试结果数据

    2.1 ibp=48G

    TPS 8th 16th 32th 64th 128th
    GreatSQL-thdpool 969.16 1324.21 1661.57 2007.98 2331.4
    GreatSQL 873.06 1146.85 1371.34 1509.8 1699.19
    MySQL 686.14 846.5 915.15 1073.95 1439.29

    P.S,后缀加上 thdpool 表示启用了 thread pool 。

    QPS 8th 16th 32th 64th 128th
    GreatSQL-thdpool 19383.2 26484.14 33231.49 40159.56 46627.89
    GreatSQL 17461.16 22937.14 27426.87 30196.02 33983.78
    MySQL 13722.8 16929.94 18303.03 21479 28785.7

    2.2 ibp=96G

    TPS 8th 16th 32th 64th 128th
    GreatSQL-thdpool 1074.57 1407.54 1706.35 2206.06 2810.39
    GreatSQL 1013.2 1198.5 1546.53 2033.04 2419.47
    MySQL 751.7 986.11 1218.87 1778.67 2065.69
    QPS 8th 16th 32th 64th 128th
    GreatSQL-thdpool 21491.46 28150.73 34127 44121.2 56207.88
    GreatSQL 20264.04 23969.97 30930.56 40660.83 48389.42
    MySQL 15034.11 19722.27 24377.47 35573.39 41313.8

    2.3 ibp=144G

    TPS 8th 16th 32th 64th 128th
    GreatSQL-thdpool 1059.46 1422.72 1853.24 2710.31 3481.66
    GreatSQL 857.28 1327.67 1767.78 2660.8 3148
  • 相关阅读:
    分类模型-类别不均衡问题之loss设计
    html怎么设置按钮返回顶部
    1.Golang语法学习总结
    Springboot之SpringMVC相关(二)
    摄影网页设计制作 简单静态HTML网页作品 WEB静态摄影网站作业成品 学生DW摄影网站模板
    将关系模式R分解2NF后续(8.1)
    使用Elasticsearch Python SDK 查询EasySearch
    LINUX网络编程:http
    如何查看电脑连接的wifi的密码
    2022年,你的数据库还没有上云吗?
  • 原文地址:https://blog.csdn.net/m0_73257876/article/details/126813286