Re: Big performance slowdown from 11.2 to 13.3 - Mailing list pgsql-performance

From Vijaykumar Jain
Subject Re: Big performance slowdown from 11.2 to 13.3
Date
Msg-id CAM+6J96WbdrdwyhSJG4timezpjJ=9cO+qEE7Gr9Jtyr58XN7SQ@mail.gmail.com
Whole thread Raw
In response to RE: Big performance slowdown from 11.2 to 13.3  ("ldh@laurent-hasson.com" <ldh@laurent-hasson.com>)
Responses RE: Big performance slowdown from 11.2 to 13.3  ("ldh@laurent-hasson.com" <ldh@laurent-hasson.com>)
List 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.




pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Big performance slowdown from 11.2 to 13.3
Next
From: "ldh@laurent-hasson.com"
Date:
Subject: RE: Big performance slowdown from 11.2 to 13.3