I was trying the same query
select column_1, count(1)
from table
group by 1
order by 1 desc
with several front-end tools, and I was getting very different results.(I ran query several time to avoid anomalies or cashing issues) I always thought that it depends on server not a client tool.
PostgreSQL 11.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36), 64-bit
max_parallel_workers = 8
max_parallel_workers_per_gather = 4
First with pgAdmin3 LTS 1.23
query ran parallelly with 4 threads and finished within 12s
Second with DbVisualizer 10.0.21
query ran only in single thread and finished within 70s
(and yes I checked it with show command and parallel setting were as stated above)
Third my colleague with Navicat
query ran parallelly with 4 threads and finished within 30s
So who makes the decision how the query is processed server or client?
EDIT:
The problem seems to be with DbVisualizer, strangely if I just run query it does not parallelise but when explain analyse option is used it does, I was checking this on server to be sure, viz screenshot
And here is the explain analyse from pgAdmin
https://explain.depesz.com/s/tP8Pi
This is the execution plan from DbVisualizer: