postgresql/src/include/optimizer
Robert Haas ab72716778 Support Parallel Append plan nodes.
When we create an Append node, we can spread out the workers over the
subplans instead of piling on to each subplan one at a time, which
should typically be a bit more efficient, both because the startup
cost of any plan executed entirely by one worker is paid only once and
also because of reduced contention.  We can also construct Append
plans using a mix of partial and non-partial subplans, which may allow
for parallelism in places that otherwise couldn't support it.
Unfortunately, this patch doesn't handle the important case of
parallelizing UNION ALL by running each branch in a separate worker;
the executor infrastructure is added here, but more planner work is
needed.

Amit Khandekar, Robert Haas, Amul Sul, reviewed and tested by
Ashutosh Bapat, Amit Langote, Rafia Sabih, Amit Kapila, and
Rajkumar Raghuwanshi.

Discussion: http://postgr.es/m/CAJ3gD9dy0K_E8r727heqXoBmWZ83HwLFwdcaSSmBQ1+S+vRuUQ@mail.gmail.com
2017-12-05 17:28:39 -05:00
..
clauses.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
cost.h Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
geqo_copy.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_gene.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_misc.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_mutation.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_pool.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_random.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo_recombination.h Final pgindent + perltidy run for v10. 2017-08-14 17:29:33 -04:00
geqo_selection.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
geqo.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
joininfo.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
orclauses.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pathnode.h Support Parallel Append plan nodes. 2017-12-05 17:28:39 -05:00
paths.h Reduce "X = X" to "X IS NOT NULL", if it's easy to do so. 2017-10-08 12:23:32 -04:00
placeholder.h Basic partition-wise join functionality. 2017-10-06 11:11:10 -04:00
plancat.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
planmain.h Add parallel_leader_participation GUC. 2017-11-15 08:23:18 -05:00
planner.h Basic partition-wise join functionality. 2017-10-06 11:11:10 -04:00
predtest.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
prep.h Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
restrictinfo.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
subselect.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
tlist.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
var.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00