重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章主要讲解了“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有什么不同这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是创新互联,小编将为大家推送更多相关知识点的文章,欢迎关注!