Re: Yet another abort-early plan disaster on 9.3

From: "Graeme B(dot) Bell" <grb(at)skogoglandskap(dot)no>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Merlin Moncure <mmoncure(at)gmail(dot)com>, "Josh Berkus" <josh(at)agliodbs(dot)com>, postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Yet another abort-early plan disaster on 9.3
Date: 2014-09-30 11:34:48
Message-ID: 9E62E5EE-3E0E-4871-84B4-34E82E1C8AC9@skogoglandskap.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


>> The existing cost estimation
>> code effectively assumes that they're perfectly uniformly distributed;
>> which is a good average-case assumption but can be horribly wrong in
>> the worst case.

Sorry, just an outsider jumping in with a quick comment.

Every year or two the core count goes up. Can/should/does postgres ever attempt two strategies in parallel, in cases where strategy A is generally good but strategy B prevents bad worst case behaviour? Kind of like a Schrödinger's Cat approach to scheduling. What problems would it raise?

Graeme.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-09-30 11:56:24 Re: open items for 9.4
Previous Message Andres Freund 2014-09-30 11:01:28 Re: Patch to support SEMI and ANTI join removal

Browse pgsql-performance by date

  From Date Subject
Next Message Claudio Freire 2014-09-30 15:59:34 Re: Yet another abort-early plan disaster on 9.3
Previous Message Simon Riggs 2014-09-30 09:25:23 Re: Yet another abort-early plan disaster on 9.3