Performance degradation from PostgreSQL 8.2.21 to PostgreSQL 9.3.2

From: fx TATEISHI KOJI <koji(dot)tateishi(at)fujixerox(dot)co(dot)jp>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Performance degradation from PostgreSQL 8.2.21 to PostgreSQL 9.3.2
Date: 2017-07-19 01:54:46
Message-ID: SINPR0601MB18068241DAFA4B059C7693BBB2A60@SINPR0601MB1806.apcprd06.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Issuing exactly the same query as PostgreSQL 8.2.21 and PostgreSQL 9.3.2 will slow the response by 6.4 ms on average.
What could be the cause?
Measurement method is as follows.
・ PostgreSQL 8.2.21 installation
★Measurement
・ Export DUMP of PostgreSQL 8.2.21
・ PostgreSQL 8.2.21 uninstallation
・ PostgreSQL 9.3.2 installation
・ Dump import
★Measurement

[query]
select
table4.a as col_0_0_,
table4.a as col_1_0_,
table4.a as col_2_0_,
table4.b as col_0_1_,
table4.c,
table4.d
from
table1,
table2,
table3,
table4
where
table1.a=table2.a and
table1.a="parameter$1" and
table2.roleid=table3.roleid and
table3.a="parameter$2" and
table4.b='3' and
table2.a=table4.a;

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Albe Laurenz 2017-07-19 06:46:43 Re: Performance degradation from PostgreSQL 8.2.21 to PostgreSQL 9.3.2
Previous Message Scott Marlowe 2017-07-19 01:08:14 Re: Very poor read performance, query independent