BUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version) - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version)
Date
Msg-id 15610-f5b6c1e204660ace@postgresql.org
Whole thread Raw
Responses Re: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion (EDB created version)  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15610
Logged by:          Toshi Harada
Email address:      harada.toshi@po.ntt-tx.co.jp
PostgreSQL version: 11.1
Operating system:   Windows Server 2012 R2 Standard Edition (32 CPU)
Description:

[Overview]

Installing PostgreSQL 11.1 Windows verson (EDB created version) and running
pgbench, tps is very low compared to PostgreSQL 10.6.
Also, tps is lower than PostgreSQL 11.1 Windows version (BIgSQL created
version).
Is there something wrong with the build option of PostgreSQL 11.1 in the EDB
created version?

[Verification procedure]

* Install using the following three installers for Windows.
  - https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 
    - postgresql-11.1-1-windows-x64.exe
    - postgresql-10.6-1-windows-x64.exe
  - http://www.openscg.com/bigsql/postgresql/installers/
    - postgresql-11.1-win64.exe 

* Use pgbench to generate data with scale factor 2000.
* Perform the following custom query for 60 seconds with the number of
connections (1, 2, 4, 8, 16, 32, 48, 64, 96).

[custom query]
\set naccounts 100000 * :scale
\set row_count 10000
\set aid_max :naccounts - :row_count
\set aid random(1, :aid_max)

SELECT count(abalance) FROM pgbench_accounts WHERE aid BETWEEN :aid and :aid
+ :row_count;


* Comparison of tps of PostgreSQL 10.6 (EDB), PostgreSQL 11.1 (EDB),
PostgreSQL 11.1 (BigSQL).

connections  10.6(EDB)  11.1(EDB)  11.1(BigSQL)
1            550.0      409.6      605.8
2            1103.6     753.5      1229.8
4            2200.4     1236.8     2539.8
8            4460.9     2241.5     5011.0
16           8862.1     2798.4     9827.0
32           16906.3    1896.0     18865.8
48           16688.8    1599.3     18794.8
64           16614.9    1438.6     19055.3
96           9492.4     1309.5     10396.9


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15609: synchronous_commit=off insert performance regression with secondary indexes
Next
From: PG Bug reporting form
Date:
Subject: BUG #15611: pg_dump output changes after doing a restore with certain views