Re: Pg10 : Client Configuration for Parallelism ?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Pg10 : Client Configuration for Parallelism ?
Date: 2019-04-17 08:33:43
Message-ID: bab15267-a02e-83da-5f3a-acf7afd6b422@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

laurent(dot)dechambe(at)orange(dot)com schrieb am 17.04.2019 um 08:30:
> I am working on PostgreSQL 10.5 and I have a discrepancy between clients regarding parallelism feature.
>
> For a simple query (say a simple SELECT COUNT(*) FROM BIG_TABLE), I
> can see PostgreSQL use parallelism when the query is launched from
> psql or PgAdmin4. However the same query launched with DBeaver (ie
> connected through JDBC) does not use parallelism.
>
> SELECT current_setting('max_parallel_workers_per_gather') gives 10
> from my session.
>
> Is there a client configuration that prevents from using parallelism?

Maybe DBeaver wraps the statement for some reason? (I have seen SQL clients do that)
A CTE would prevent parallelism.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Joseph Krogh 2019-04-17 09:07:51 Sv: Pg10 : Client Configuration for Parallelism ?
Previous Message Andreas Kretschmer 2019-04-17 08:07:09 Re: Pg10 : Client Configuration for Parallelism ?