Re: Yet another abort-early plan disaster on 9.3

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Yet another abort-early plan disaster on 9.3
Date: 2014-12-10 02:09:01
Message-ID: CA+U5nMKSerA0EDaK+ANV7K9xdEs3BkV2UCH9aoWLcHKLqO3M3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 10 December 2014 at 10:46, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> On 12/05/2014 08:04 AM, Simon Riggs wrote:
>> On 6 December 2014 at 00:45, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
>>
>>> Neat -- got any test cases (would this have prevented OP's problem)?
>>
>> No test case was posted, so I am unable to confirm.
>>
>> A test case I produced that appears to be the same issue is fixed.
>>
>> I await confirmation from the OP.
>>
>
> So that's proprietary/confidential data. However, the company involved
> has a large testbed and I could test their data using a patched version
> of Postgres. In 3 months their data distribution has drifted, so I'll
> need to do some work to recreate the original bad plan circumstances.
> I'll keep you posted on how the patch works for that setup.
>
> It would be great to come up with a generic/public test for a bad
> abort-early situation. Ideas?

If you could contribute that, it would be welcome.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2014-12-10 02:33:54 Re: Sequence Access Method WIP
Previous Message Peter Geoghegan 2014-12-10 02:03:33 Re: B-Tree support function number 3 (strxfrm() optimization)

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Kirkwood 2014-12-10 03:55:14 Re: 8xIntel S3500 SSD in RAID10 on Dell H710p
Previous Message Josh Berkus 2014-12-10 01:46:34 Re: Yet another abort-early plan disaster on 9.3