Re: Pg10 : Client Configuration for Parallelism ? - Mailing list pgsql-performance

From Thomas Kellerer
Subject Re: Pg10 : Client Configuration for Parallelism ?
Date
Msg-id bab15267-a02e-83da-5f3a-acf7afd6b422@gmx.net
Whole thread Raw
In response to Pg10 : Client Configuration for Parallelism ?  (<laurent.dechambe@orange.com>)
Responses Re: Pg10 : Client Configuration for Parallelism ?  (Gunther Schadow <gunther@pragmaticdata.com>)
List pgsql-performance
laurent.dechambe@orange.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. 




pgsql-performance by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: Pg10 : Client Configuration for Parallelism ?
Next
From: Andreas Joseph Krogh
Date:
Subject: Sv: Pg10 : Client Configuration for Parallelism ?