Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iYy4C-0006nT-5N for pgsql-performance@arkaria.postgresql.org; Sun, 24 Nov 2019 20:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iYy4A-00069e-Q1 for pgsql-performance@arkaria.postgresql.org; Sun, 24 Nov 2019 20:01:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iYy4A-00069X-CU for pgsql-performance@lists.postgresql.org; Sun, 24 Nov 2019 20:01:06 +0000 Received: from smtp-pub.zeelandnet.nl ([62.238.254.11]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iYy46-0006Sy-SW for pgsql-performance@lists.postgresql.org; Sun, 24 Nov 2019 20:01:04 +0000 X-Sender-IP: 213.34.254.45 Received: from [192.168.1.173] (host-0jvuwqj.cbn1.zeelandnet.nl [213.34.254.45]) by mail.zeelandnet.nl (Postfix) with ESMTP id 47Lgyf6Y9Qz37c5; Sun, 24 Nov 2019 21:00:58 +0100 (CET) Subject: Re: performance degredation after upgrade from 9.6 to 12 To: Mariel Cherkassky , Jeff Janes Cc: Andrew Zakharov , pgsql-performance@lists.postgresql.org References: From: John Felix Message-ID: <607ee392-d7e8-4da4-6a8a-61d3256c213a@zeelandnet.nl> Date: Sun, 24 Nov 2019 21:00:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------A5B28530A96224B1D59C4BE3" Content-Language: nl X-Antivirus: Avast (VPS 191124-2, 24-11-2019), Outbound message X-Antivirus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------A5B28530A96224B1D59C4BE3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------A5B28530A96224B1D59C4BE3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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


--------------A5B28530A96224B1D59C4BE3--