Re: WIP: Faster Expression Processing v4
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Heikki Linnakangas <hlinnaka@iki.fi>, Doug Doole <ddoole@salesforce.com>
Date: 2017-03-11T00:42:25Z
Lists: pgsql-hackers
On Fri, Mar 10, 2017 at 07:15:59PM -0500, Peter Eisentraut wrote: > On 3/10/17 14:40, Andres Freund wrote: > > I'd really like to get it in. The performance improvements on its own > > are significant, and it provides the basis for significantly larger > > improvements again (JIT) - those followup improvements are large patches > > again though, so I'd rather not do all of that next cycle. > > > > My next step (over the weekend) is to add tests to execQual.c to get it > > a good chunk closer to 100% test coverage, and then do the same for the > > new implementation (there's probably very little additional tests needed > > after the conversion). Given all tests pass before/after, and there's a > > lot of them, I think we can have a reasonable confidence of a low bug > > density. > > That seems like a plan, but now would probably be a good time for some > other hackers to take note of this proposal. Well, the executor is long overdue for improvement, so I would love to have this in 10.0. I am not sure what additional polishing will happen if we punt it for 11.0. I think the only downside of having it in 10.0 is that it will not have lived in the source tree for as long a time between commit and PG release, but if it is tested, that seems fine. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
Commits
-
Improve performance of ExecEvalWholeRowVar.
- 2f0903ea1965 10.0 landed
-
Remove unreachable code in expression evaluation.
- ad46a2aa79f9 10.0 landed
-
Faster expression evaluation and targetlist projection.
- b8d7f053c5c2 10.0 landed
-
Avoid syntax error on platforms that have neither LOCALE_T nor ICU.
- 457a44487328 10.0 cited
-
Add configure test to see if the C compiler has gcc-style computed gotos.
- bc18126a6bcb 10.0 landed
-
Improve regression test coverage for TID scanning.
- be6c3d19fd45 10.0 landed
-
Improve expression evaluation test coverage.
- ce38949ba23a 10.0 landed
-
Fix two errors with nested CASE/WHEN constructs.
- f0c7b789ab12 9.6.0 cited