Re: Does Postgresql 10 query partitions in parallel?

From: Andres Freund <andres(at)anarazel(dot)de>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Does Postgresql 10 query partitions in parallel?
Date: 2017-12-06 19:33:07
Message-ID: 20171206193307.p6mho7faz4oudplm@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2017-12-06 19:34:44 Re: Does Postgresql 10 query partitions in parallel?
Previous Message John R Pierce 2017-12-06 18:53:22 Re: Does Postgresql 10 query partitions in parallel?