PostgreSQL 12和PostgreSQL 11的tpcc有什么不同
短信预约 -IT技能 免费直播动态提醒
这篇文章主要讲解了“PostgreSQL 12和PostgreSQL 11的tpcc有什么不同”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“PostgreSQL 12和PostgreSQL 11的tpcc有什么不同”吧!
PG 12
测试数据
./runSQL.sh props.pg sqlTableDrops
./runSQL.sh props.pg sqlTableCreates
./runLoader.sh props.pg numwarehouses 32
./runSQL.sh props.pg sqlIndexCreates
运行结果
[pg12@localhost run]$ ./runBenchmark.sh props.pg
2019-11-11 15:10:24,697 INFO - Term-00,
2019-11-11 15:10:24,697 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:10:24,697 INFO - Term-00, BenchmarkSQL v4.1.1
2019-11-11 15:10:24,697 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:10:24,697 INFO - Term-00, (c) 2003, Raul Barbosa
2019-11-11 15:10:24,697 INFO - Term-00, (c) 2004-2016, Denis Lussier
2019-11-11 15:10:24,697 INFO - Term-00, (c) 2016, Jan Wieck
2019-11-11 15:10:24,697 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:10:24,697 INFO - Term-00,
2019-11-11 15:10:24,697 INFO - Term-00, driver=org.postgresql.Driver
2019-11-11 15:10:24,697 INFO - Term-00, conn=jdbc:postgresql://192.168.26.28:5432/benchmarkdb
2019-11-11 15:10:24,697 INFO - Term-00, user=pg12
2019-11-11 15:10:24,697 INFO - Term-00,
2019-11-11 15:10:24,697 INFO - Term-00, warehouses=32
2019-11-11 15:10:24,697 INFO - Term-00, terminals=20
2019-11-11 15:10:24,697 INFO - Term-00, runMins=10
2019-11-11 15:10:24,698 INFO - Term-00, limitTxnsPerMin=0
2019-11-11 15:10:24,698 INFO - Term-00,
2019-11-11 15:10:24,698 INFO - Term-00, newOrderWeight=45 Term-00, Running Average t
2019-11-11 15:20:25,060 INFO - Term-00, 64444 Memory Usage: 40MB / 55MB
2019-11-11 15:20:25,060 INFO - Term-00,
2019-11-11 15:20:25,060 INFO - Term-00, Measured tpmC (NewOrders) = 7903.72
2019-11-11 15:20:25,060 INFO - Term-00, Measured tpmTOTAL = 17589.51
2019-11-11 15:20:25,060 INFO - Term-00, Session Start = 2019-11-11 15:10:24
2019-11-11 15:20:25,060 INFO - Term-00, Session End = 2019-11-11 15:20:25
2019-11-11 15:20:25,060 INFO - Term-00, Transaction Count = 175956
[pg12@localhost run]$
PG 11
测试数据
./runSQL.sh props.pg sqlTableDrops
./runSQL.sh props.pg sqlTableCreates
./runLoader.sh props.pg numwarehouses 32
./runSQL.sh props.pg sqlIndexCreates
运行结果
[xdb@localhost run]$ ./runBenchmark.sh props.pg
2019-11-11 15:29:26,945 INFO - Term-00,
2019-11-11 15:29:26,946 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:29:26,946 INFO - Term-00, BenchmarkSQL v4.1.1
2019-11-11 15:29:26,946 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:29:26,946 INFO - Term-00, (c) 2003, Raul Barbosa
2019-11-11 15:29:26,946 INFO - Term-00, (c) 2004-2016, Denis Lussier
2019-11-11 15:29:26,946 INFO - Term-00, (c) 2016, Jan Wieck
2019-11-11 15:29:26,946 INFO - Term-00, +-------------------------------------------------------------+
2019-11-11 15:29:26,946 INFO - Term-00,
2019-11-11 15:29:26,946 INFO - Term-00, driver=org.postgresql.Driver
2019-11-11 15:29:26,946 INFO - Term-00, conn=jdbc:postgresql://192.168.26.28:5433/benchmarkdb
2019-11-11 15:29:26,946 INFO - Term-00, user=xdb
2019-11-11 15:29:26,946 INFO - Term-00,
2019-11-11 15:29:26,946 INFO - Term-00, warehouses=32
2019-11-11 15:29:26,946 INFO - Term-00, terminals=20
2019-11-11 15:29:26,946 INFO - Term-00, runMins=10
2019-11-11 15:29:26,946 INFO - Term-00, limitTxnsPerMin=0
2019-11-11 15:29:26,946 INFO - Term-00,
2019-11-11 15:29:26,946 INFO - Term-00, newOrderWeight=45 Term-00, Running Average t
2019-11-11 15:39:27,285 INFO - Term-00, 75628 Memory Usage: 43MB / 58MB
2019-11-11 15:39:27,285 INFO - Term-00,
2019-11-11 15:39:27,286 INFO - Term-00, Measured tpmC (NewOrders) = 8014.34
2019-11-11 15:39:27,286 INFO - Term-00, Measured tpmTOTAL = 17795.79
2019-11-11 15:39:27,286 INFO - Term-00, Session Start = 2019-11-11 15:29:27
2019-11-11 15:39:27,286 INFO - Term-00, Session End = 2019-11-11 15:39:27
2019-11-11 15:39:27,286 INFO - Term-00, Transaction Count = 178018
[xdb@localhost run]$
PG 12 7903 vs PG 11 8014,差别不大。
感谢各位的阅读,以上就是“PostgreSQL 12和PostgreSQL 11的tpcc有什么不同”的内容了,经过本文的学习后,相信大家对PostgreSQL 12和PostgreSQL 11的tpcc有什么不同这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341