pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Zakharov <Andrew898@mail.ru>
To: 'Mariel Cherkassky' <mariel.cherkassky@gmail.com>
To: 'Jeff Janes' <jeff.janes@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: RE: performance degredation after upgrade from 9.6 to 12
Date: Mon, 16 Dec 2019 15:27:01 +0300
Message-ID: <017001d5b40c$1e083800$5a18a800$@mail.ru> (raw)
In-Reply-To: <CA+t6e1mL38NgvE-_AZoXH4DzG9bJNO6zvoQhy=5M0pN_qBJ6JA@mail.gmail.com>
References: <CA+t6e1n1oO2pJLJqPYtt_hZiQhWakF54D9ifXm4403ij3G9LLw@mail.gmail.com>
	<D5A97466-572B-44B4-AF62-4ED86C08CBC3@mail.ru>
	<CA+t6e1knyzgqAaRp2W9PtOy5GDPfjJfzAB30MMNQP9gRAX9T_w@mail.gmail.com>
	<CAMkU=1xfnGWux2Vx4Nypoz764YC8OxctQtYDXvykiGeMVoZKrg@mail.gmail.com>
	<CA+t6e1mL38NgvE-_AZoXH4DzG9bJNO6zvoQhy=5M0pN_qBJ6JA@mail.gmail.com>

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.cherkassky@gmail.com> 
Sent: Monday, December 16, 2019 2:48 PM
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Andrew Zakharov <Andrew898@mail.ru>; pgsql-performance@lists.postgresql.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..

view thread (15+ messages)  latest in thread

Message-ID: <017001d5b40c$1e083800$5a18a800$@mail.ru>
Permalink:  ../017001d5b40c$1e083800$5a18a800$@mail.ru/
Also on:    postgresql.org/message-id/017001d5b40c$1e083800$5a18a800$@mail.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Andrew898@mail.ru, mariel.cherkassky@gmail.com, jeff.janes@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: RE: performance degredation after upgrade from 9.6 to 12
  In-Reply-To: <017001d5b40c$1e083800$5a18a800$@mail.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox