From: lcarson@sdsc.edu
To: pgsql-bugs@postgresql.org
Subject: BUG #12859: views much slower in 9.4.1 than 8.4.7
Date: Thu, 12 Mar 2015 20:59:57 +0000
Message-ID: <20150312205957.2516.65314@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 12859
Logged by: lcarson
Email address: lcarson@sdsc.edu
PostgreSQL version: 9.4.1
Operating system: redhat 6
Description:
We have views that are running anywhere from 20x slower to failing to
complete in 9.4.1 whereas in 8.4.7 they produced results in seconds or tens
of seconds on the same platform.
After upgrading from 8.4 to 9.3, I ran ANALYZE on the entire db and it DID
improve performance for some, but not all, of the views in question.
Here is an explain plan of one of the slow views in 9.4:
http://explain.depesz.com/s/36n
While acknowledging that nested loops and sequential scans account for 85%
of the execution time, why would this run in seconds in 8.4 and minutes in
9.4? Is it because of changes to the planner?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: lcarson@sdsc.edu
Subject: Re: BUG #12859: views much slower in 9.4.1 than 8.4.7
In-Reply-To: <20150312205957.2516.65314@wrigleys.postgresql.org>
References: <20150312205957.2516.65314@wrigleys.postgresql.org>
* 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