PostgreSQL12和PostgreSQL11的tpcc有什么不同

这篇文章主要讲解了“PostgreSQL 12和PostgreSQL 11的tpcc有什么不同”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“PostgreSQL 12和PostgreSQL 11的tpcc有什么不同”吧!

成都网站设计、网站制作介绍好的网站是理念、设计和技术的结合。创新互联拥有的网站设计理念、多方位的设计风格、经验丰富的设计团队。提供PC端+手机端网站建设,用营销思维进行网站设计、采用先进技术开源代码、注重用户体验与SEO基础,将技术与创意整合到网站之中,以契合客户的方式做到创意性的视觉化效果。

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有什么不同这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是创新互联,小编将为大家推送更多相关知识点的文章,欢迎关注!


本文标题:PostgreSQL12和PostgreSQL11的tpcc有什么不同
标题来源:http://pwwzsj.com/article/giciop.html