From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add a 'parallel_degree' reloption.
Date: Fri, 08 Apr 2016 15:22:41 +0000
Message-ID: <E1aoYF7-0001g4-Ka@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add a 'parallel_degree' reloption.
The code that estimates what parallel degree should be uesd for the
scan of a relation is currently rather stupid, so add a parallel_degree
reloption that can be used to override the planner's rather limited
judgement.
Julien Rouhaud, reviewed by David Rowley, James Sewell, Amit Kapila,
and me. Some further hacking by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/25fe8b5f1ac93c3ec01519854e4f554b2e57a926
Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 13 +++++++
src/backend/access/common/reloptions.c | 17 +++++++--
src/backend/optimizer/path/allpaths.c | 64 +++++++++++++++++++++++-----------
src/backend/optimizer/util/plancat.c | 3 ++
src/backend/optimizer/util/relnode.c | 1 +
src/bin/psql/tab-complete.c | 1 +
src/include/nodes/relation.h | 1 +
src/include/utils/rel.h | 9 +++++
8 files changed, 86 insertions(+), 23 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Add a 'parallel_degree' reloption.
In-Reply-To: <E1aoYF7-0001g4-Ka@gemulon.postgresql.org>
References: <E1aoYF7-0001g4-Ka@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox