| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | 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-12-12 03:31:45 |
| Message-ID: | CA+U5nMJqbcveiVL=cMCkzvOzSqPHytPROTbUnw8W6YRC=8T3Vw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-performance |
On 12 December 2014 at 03:22, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> It's a simple patch, but it solves the test cases I know about and
> does almost nothing to planning time.
Test cases attached. The files marked "pettus_*" are written up from
Christophe Pettus' blog.
The other test case is one of my own devising, based upon recent
customer problems.
The "10 most recent calls" is a restatement of actual problems seen in the past.
Also attached is a new parameter called enable_sortedpath which can be
used to turn on/off the sorted path generated by the planner.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| sortedpath.sql | application/octet-stream | 513 bytes |
| pettus_limit.sql | application/octet-stream | 227 bytes |
| pettus_sel.sql | application/octet-stream | 364 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2014-12-12 03:33:24 | Re: Compression of full-page-writes |
| Previous Message | Simon Riggs | 2014-12-12 03:24:16 | Re: Turning off HOT/Cleanup sometimes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2014-12-12 21:06:42 | Re: 8xIntel S3500 SSD in RAID10 on Dell H710p |
| Previous Message | Simon Riggs | 2014-12-12 03:22:44 | Re: Yet another abort-early plan disaster on 9.3 |