pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Felix <johnfelix@zeelandnet.nl>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Andrew Zakharov <Andrew898@mail.ru>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: performance degredation after upgrade from 9.6 to 12
Date: Sun, 24 Nov 2019 21:00:48 +0100
Message-ID: <607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl> (raw)
In-Reply-To: <CA+t6e1m1CFhrqfkkETUnCZyLoJFyRdXvtwUmxji3DoJoskAA5g@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+t6e1m1CFhrqfkkETUnCZyLoJFyRdXvtwUmxji3DoJoskAA5g@mail.gmail.com>

Op 24-11-2019 om 19:05 schreef Mariel Cherkassky:
> Hey Jeff,
> This example was only used to show that pg96  had better perfomance 
> than pg12 in a very simple case.
>  In all the tests that I run most of the queries took less time on 
> 9.6`s version.  I dont know why, but as you can see after 
> disabling the parameter the simple test that I did showed different 
> results.  I intend to test this theory tomorrow. I'm going to disable 
> the parameter and run the same application flows that I have on both 
> machines (9.6 vs 12 with zero value for the param).
>
> I didnt send this mail after doing just one simple test, I have more 
> than 100 queries that work better on 9.6 . If u have any explanation I 
> will be happy to hear.
> I'll update tomorrow once I'll have the results..
>
I've had the same experience with parallel query. By default parallel 
query is disabled in 9.6. When we upgraded from 9.6 to 10 is was 
significant slower till I disabled parallel query.

We have a very small database (40 tables and all together max 4GB) and 
we have no long running queries (the largest queries run max 2 to 3 
seconds). That's when parallel query gives a performance degrade in my 
opinion.

Best regards,

John Felix

view thread (15+ messages)  latest in thread

Message-ID: <607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl>
Permalink:  ../607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl/
Also on:    postgresql.org/message-id/607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: johnfelix@zeelandnet.nl, mariel.cherkassky@gmail.com, jeff.janes@gmail.com, Andrew898@mail.ru, pgsql-performance@lists.postgresql.org
  Subject: Re: performance degredation after upgrade from 9.6 to 12
  In-Reply-To: <607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl>
  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+t6e1m1CFhrqfkkETUnCZyLoJFyRdXvtwUmxji3DoJoskAA5g@mail.gmail.com> <607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl>

* 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