GreatSQL社区

搜索

reddey

关于TPCC-MYSQL的使用总结

reddey 已有 446 次阅读2024-6-15 20:46 |系统分类:运维实战

我的操作系统为ORACLELINUX 8,数据库为GREATSQL。

1、先去下载TPCC-MYSQL包。

wget http://imysql.com/wp-content/uploads/2014/09/tpcc-mysql-src.tgz

tar xvf tpcc-mysql-src.tgz

进入解压目录下的src目录,进行make编译

/root/tpcc-mysql-master/src

2、编译完成后,在/tpcc-mysql-master/目录下会生成如图所示的两个可执行文件。

3、

先创建数据库tpcc1000,再按图片所示生成生成表结构和外键。

最后生成表数据。


 [0] sc:0  lt:229  rt:0  fl:0

 [1] sc:5  lt:218  rt:0  fl:0

 [2] sc:8  lt:15  rt:0  fl:0

 [3] sc:0  lt:23  rt:0  fl:0

 [4] sc:0  lt:22  rt:0  fl:0


(all must be [OK])

[transaction percentage]

       Payment: 42.88% (>=43.0%) [NG] *

  Order-Status: 4.42% (>= 4.0%) [OK]

      Delivery: 4.42% (>= 4.0%) [OK]

   Stock-Level: 4.23% (>= 4.0%) [OK]

[response time (at least 90% passed)]

     New-Order: 0.00%  [NG] *

       Payment: 2.24%  [NG] *

  Order-Status: 34.78%  [NG] *

      Delivery: 0.00%  [NG] *

   Stock-Level: 0.00%  [NG] *


                229.000 TpmC

以上是部分压测数据结果。

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 立即注册

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-10-18 10:41 , Processed in 0.014575 second(s), 9 queries , Redis On.
返回顶部