这篇文章主要讲解了“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有什么不同这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。