public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Adam Brusselback <[email protected]>
Cc: [email protected]
Subject: Re: 9.6 query slower than 9.5.3
Date: Thu, 16 Jun 2016 23:57:32 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMjNa7eFhXr=NybUPwDOC=V7t6L0+d6VWNm8LFfqq8qXzvqKZg@mail.gmail.com>
References: <CAMjNa7eYj3O2K5WxVAmMmYVUh_XpvS4db0LSKxd-kk_ZgaMitg@mail.gmail.com>
<[email protected]>
<CAMjNa7eNg538eSD9tzt7AC_S2b+AAdoZe0J5yLTK7w_gTFta_w@mail.gmail.com>
<CAMjNa7d3RQBzeH7KEsX+yrOGXkVQ0XZrs_-MLp0qQye-oD53+A@mail.gmail.com>
<[email protected]>
<CAMjNa7eFhXr=NybUPwDOC=V7t6L0+d6VWNm8LFfqq8qXzvqKZg@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-performance>
Adam Brusselback <[email protected]> writes:
> Alright with that off I get:
> ...
> Way better.
OK, that confirms the suspicion that beta1's FK-join-estimation logic
is the culprit here. We had already decided that that logic is broken,
and there's a rewrite in progress:
https://www.postgresql.org/message-id/15245.1466031608%40sss.pgh.pa.us
I wonder though whether the rewrite will fix your example. Could you
either make some test data available, or try HEAD + aforesaid patch
to see if it behaves sanely on your data?
regards, tom lane
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: 9.6 query slower than 9.5.3
In-Reply-To: <[email protected]>
* 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