public inbox for pgsql-performance@postgresql.org  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: johannes graën <johannes@selfnet.de>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: [PERFORM] performance drop after upgrade (9.6 > 10)
Date: Sun, 28 Jan 2018 18:53:10 -0500
Message-ID: <20180128235310.GA5024@momjian.us> (raw)
In-Reply-To: <20171026194515.GV21735@telsasoft.com>
References: <CA++JNSeCW1BSRVS7N--OmVOMDiMVA61_DFMA24fFbM2R7JdQjQ@mail.gmail.com>
	<CAFj8pRDnW+bD5OmWjawxryv_=BctsE8HF5Y1n=oxgQ+xwrVqUQ@mail.gmail.com>
	<CA++JNScUoxYKBhURxbG_DzoUfgKJup4a4TXUTiG1FFjuq8X-VQ@mail.gmail.com>
	<CA++JNSfTEifSiBq73zpGCQuDNGr9yYcjmkx_=LtAbnadKLY_vg@mail.gmail.com>
	<20171026194515.GV21735@telsasoft.com>

On Thu, Oct 26, 2017 at 02:45:15PM -0500, Justin Pryzby wrote:
> On Tue, Oct 24, 2017 at 04:15:59PM +0200, johannes graën wrote:
> > Hi Pavel, *,
> > 
> > you were right with ANALYZing the DB first. However, even after doing
> > so, I frequently see Seq Scans where an index was used before. This
> > usually cooccurs with parallelization and looked different before
> > upgrading to 10. I can provide an example for 10 [1], but I cannot
> > generate a query plan for 9.6 anymore.
> > 
> > Any ideas what makes the new version more seqscanny?
> 
> Is it because max_parallel_workers_per_gather now defaults to 2 ?
> 
> BTW, I would tentatively expect a change in default to be documented in the
> release notes but can't see that it's.
> 77cd477c4ba885cfa1ba67beaa82e06f2e182b85

Oops, you are correct.  The PG 10 release notes, which I wrote, should
have mentioned this.  :-(

	https://www.postgresql.org/docs/10/static/release-10.html

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +




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: bruce@momjian.us, pryzby@telsasoft.com, johannes@selfnet.de, pavel.stehule@gmail.com
  Subject: Re: [PERFORM] performance drop after upgrade (9.6 > 10)
  In-Reply-To: <20180128235310.GA5024@momjian.us>

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

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