Re: Big performance slowdown from 11.2 to 13.3
Vijaykumar Jain <vijaykumarjain.github@gmail.com>
From: Vijaykumar Jain <vijaykumarjain.github@gmail.com>
To: "ldh@laurent-hasson.com" <ldh@laurent-hasson.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, "pgsql-performance@postgresql.org" <pgsql-performance@postgresql.org>
Date: 2021-07-22T20:31:45Z
Lists: pgsql-performance
Just asking, I may be completely wrong. is this query parallel safe? can we force parallel workers, by setting low parallel_setup_cost or otherwise to make use of scatter gather and Partial HashAggregate(s)? I am just assuming more workers doing things in parallel, would require less disk spill per hash aggregate (or partial hash aggregate ?) and the scatter gather at the end. I did some runs in my demo environment, not with the same query, some group by aggregates with around 25M rows, and it showed reasonable results, not too off. this was pg14 on ubuntu.
Commits
-
Get rid of artificial restriction on hash table sizes on Windows.
- b154ee63bb65 14.0 landed
- 2b8f3f5a7c0e 13.4 landed
- 28d936031a86 15.0 landed