PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15610
PG Version11.1
OSWindows Server 2012 R2 Standard Edition (32 CPU)
Opened2019-01-29 02:27:50+00
Reported byToshi Harada
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15610
Logged by:          Toshi Harada
Email address:      (redacted)
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

Messages

DateAuthorSubject
2019-01-29 02:27:50+00PG Bug reporting formBUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version)
2019-01-29 18:42:03+00Jeff JanesRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version)
2019-01-29 23:48:27+00David RowleyRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windows version (EDB created version)
2019-01-30 05:06:29+00Toshi HaradaRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion (EDB created version)
2019-01-30 05:16:14+00David RowleyRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion (EDB created version)
2019-01-30 05:41:56+00Toshi HaradaRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion(EDB created version)
2019-01-31 01:52:33+00Tatsuo IshiiRe: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion(EDB created version)