Re: BUG #12859: views much slower in 9.4.1 than 8.4.7 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #12859: views much slower in 9.4.1 than 8.4.7
Date
Msg-id 3304.1426202178@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #12859: views much slower in 9.4.1 than 8.4.7  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-bugs
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> On 12.3.2015 21:59, lcarson@sdsc.edu wrote:
>> 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 tensof seconds on the same platform.

> You have not provided explain plans from 8.4, and I'd bet it was using a
> different plan on that version.

We'd really need far more information than that to investigate this.
Please see
https://wiki.postgresql.org/wiki/Slow_Query_Questions

Also, as suggested on that page, pgsql-performance is likely a better
venue for this discussion than pgsql-bugs.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: BUG #12859: views much slower in 9.4.1 than 8.4.7
Next
From: Michael Paquier
Date:
Subject: Re: pg_upgrade failure on Windows Server