RE: performance degredation after upgrade from 9.6 to 12

From: "Andrew Zakharov" <Andrew898(at)mail(dot)ru>
To: "'Mariel Cherkassky'" <mariel(dot)cherkassky(at)gmail(dot)com>, "'Jeff Janes'" <jeff(dot)janes(at)gmail(dot)com>
Cc: <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: RE: performance degredation after upgrade from 9.6 to 12
Date: 2019-12-16 12:27:01
Message-ID: 017001d5b40c$1e083800$5a18a800$@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

Hi there –

I have no idea why this happening. But I suspect the parallel requires more internal machine resources like CPU etc because you can faster retrieve the disk data from the one hand but you ought to spend more resources for maintaining several threads and theirs coordination (px coordinator process in Oracle terms) from another one. Thus there could be more serious hardware requirements even just to keep performance the same. I believe that the real benefit of the parallel will be shown when you have pair of large and wide tables (30M or more each) with hash join (typical task for mart construction) but such class of databases is supposed to be big and required enough resources initially.

From: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
Sent: Monday, December 16, 2019 2:48 PM
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Andrew Zakharov <Andrew898(at)mail(dot)ru>; pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: performance degredation after upgrade from 9.6 to 12

Hey Jeff,Andrew,

I continued testing the 12version vs the 96 version and it seems that there is almost non diff and in some cases pg96 is faster than 12. I compared the content of pg_stat_statements after each test that I have done and it seems that the db time is almost the same and sometimes 96 is faster by 5%.

Any idea why there isnt any improvement even when I enabled the parallel params in 12 ?

I can add a few examples if needed..

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mariel Cherkassky 2019-12-16 13:01:57 Re: performance degredation after upgrade from 9.6 to 12
Previous Message Mariel Cherkassky 2019-12-16 11:48:20 Re: performance degredation after upgrade from 9.6 to 12

Browse pgsql-performance by date

  From Date Subject
Next Message Mariel Cherkassky 2019-12-16 13:01:57 Re: performance degredation after upgrade from 9.6 to 12
Previous Message Mariel Cherkassky 2019-12-16 11:48:20 Re: performance degredation after upgrade from 9.6 to 12