Files
postgresql/src/include
Andres Freund 8ed3f11bb0 Perform one only projection to compute agg arguments.
Previously we did a ExecProject() for each individual aggregate
argument. That turned out to be a performance bottleneck in queries with
multiple aggregates.

Doing all the argument computations in one ExecProject() is quite a bit
cheaper because ExecProject's fastpath can do the work at once in a
relatively tight loop, and because it can get all the required columns
with a single slot_getsomeattr and save some other redundant setup
costs.

Author: Andres Freund
Reviewed-By: Heikki Linnakangas
Discussion: https://postgr.es/m/20161103110721.h5i5t5saxfk5eeik@alap3.anarazel.de
2016-11-30 16:20:24 -08:00
..
2016-01-02 13:33:40 -05:00
2016-11-18 14:59:03 -05:00
2016-11-18 14:59:03 -05:00
2016-10-18 13:43:27 -04:00
2016-01-02 13:33:40 -05:00
2016-10-11 11:26:04 -04:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-10-14 16:05:30 -07:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-09-15 22:52:51 +03:00
2016-08-15 13:49:49 -04:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-11-22 20:28:24 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00
2016-01-02 13:33:40 -05:00