From: Andres Freund <andres@anarazel.de>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Does Postgresql 10 query partitions in parallel?
Date: Wed, 6 Dec 2017 11:33:07 -0800
Message-ID: <20171206193307.p6mho7faz4oudplm@alap3.anarazel.de> (raw)
In-Reply-To: <56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com>
References: <CAO5258=ZujLDMM4DgNZAf4AoDEn2=xwY6vj1owb5T7AU5k11-w@mail.gmail.com>
<56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com>
On 2017-12-06 10:53:22 -0800, John R Pierce wrote:
> On 12/6/2017 5:11 AM, Maltsev Eduard wrote:
> > I'm curious if the new feature of Postgresql allows to take advantage of
> > multiple cpus on server, and multiple servers (fdw), for larger read
> > only queries (Data mining). In general there should be some worker that
> > queries partitions and merges the results, and I expect it to be done in
> > parallel. This becomes critical when foreign tables are used, I suppose.
>
>
> PostgreSQL 10 does indeed have a parallel query feature that will use
> multiple cores. you have to explicity invoke it.
"you have to explicitly invoke it" - huh?
> As this is a first
> implementation, its fairly limited as to the sorts of queries that can be
> parallized, but this will be enhanced in future versions.
It's already been expanded a lot since 9.6.
Greetings,
Andres Freund
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-general@postgresql.org
Cc: andres@anarazel.de, pierce@hogranch.com
Subject: Re: Does Postgresql 10 query partitions in parallel?
In-Reply-To: <20171206193307.p6mho7faz4oudplm@alap3.anarazel.de>
References: <CAO5258=ZujLDMM4DgNZAf4AoDEn2=xwY6vj1owb5T7AU5k11-w@mail.gmail.com> <56dca4c5-f043-abe6-0b4b-cea22a141e63@hogranch.com> <20171206193307.p6mho7faz4oudplm@alap3.anarazel.de>
* 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