postgresql/src/backend/optimizer/path
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
..
Makefile Extract restriction OR clauses whether or not they are indexable. 2013-12-30 12:24:37 -05:00
allpaths.c Invent min_parallel_relation_size GUC to replace a hard-wired constant. 2016-06-16 13:47:20 -04:00
clausesel.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
costsize.c Eliminate "parallel degree" terminology. 2016-06-09 10:00:26 -04:00
equivclass.c Fix mishandling of equivalence-class tests in parameterized plans. 2016-04-29 20:19:38 -04:00
indxpath.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
joinpath.c Fix planner crash from pfree'ing a partial path that a GatherPath uses. 2016-04-30 12:29:21 -04:00
joinrels.c Support parallel joins, and make related improvements. 2016-01-20 14:40:26 -05:00
pathkeys.c Revert CREATE INDEX ... INCLUDING ... 2016-04-08 21:52:13 +03:00
tidpath.c Update copyright for 2016 2016-01-02 13:33:40 -05:00