postgresql/src/include/optimizer
Tom Lane 75be66464c Invent min_parallel_relation_size GUC to replace a hard-wired constant.
The main point of doing this is to allow the cutoff to be set very small,
even zero, to allow parallel-query behavior to be tested on relatively
small tables such as we typically use in the regression tests.  But it
might be of use to users too.  The number-of-workers scaling behavior in
create_plain_partial_paths() is pretty ad-hoc and subject to change, so
we won't expose anything about that, but the notion of not considering
parallel query at all for tables below size X seems reasonably stable.

Amit Kapila, per a suggestion from me

Discussion: <17170.1465830165@sss.pgh.pa.us>
2016-06-16 13:47:20 -04:00
..
clauses.h pgindent run for 9.6 2016-06-09 18:02:36 -04:00
cost.h Eliminate "parallel degree" terminology. 2016-06-09 10:00:26 -04:00
geqo.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_copy.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_gene.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_misc.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_mutation.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_pool.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_random.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_recombination.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
geqo_selection.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
joininfo.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
orclauses.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pathnode.h Eliminate "parallel degree" terminology. 2016-06-09 10:00:26 -04:00
paths.h Invent min_parallel_relation_size GUC to replace a hard-wired constant. 2016-06-16 13:47:20 -04:00
placeholder.h Add an explicit representation of the output targetlist to Paths. 2016-02-18 20:02:03 -05:00
plancat.h Directly modify foreign tables. 2016-03-18 13:55:52 -04:00
planmain.h Refactor to reduce code duplication for function property checking. 2016-06-10 16:03:46 -04:00
planner.h Redefine create_upper_paths_hook as being invoked once per upper relation. 2016-04-12 15:23:14 -04:00
predtest.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
prep.h Make the upper part of the planner work by generating and comparing Paths. 2016-03-07 15:58:22 -05:00
restrictinfo.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
subselect.h Make the upper part of the planner work by generating and comparing Paths. 2016-03-07 15:58:22 -05:00
tlist.h Support parallel aggregation. 2016-03-21 09:30:18 -04:00
var.h Give pull_var_clause() reject/recurse/return behavior for WindowFuncs too. 2016-03-10 16:23:52 -05:00