Re: Performance of Query 60 on TPC-DS Benchmark - Mailing list pgsql-performance

From Andrei Lepikhov
Subject Re: Performance of Query 60 on TPC-DS Benchmark
Date
Msg-id 202aa06a-678c-430b-8f87-fb694b9703e8@gmail.com
Whole thread Raw
In response to Performance of Query 60 on TPC-DS Benchmark  (Ba Jinsheng <bajinsheng@u.nus.edu>)
List pgsql-performance
On 22/11/2024 18:12, Ba Jinsheng wrote:
> I think the key difference is that the patch disables the usage of Hash 
> Join, which incurs a worse performance.
I see here a problem with a number of groups: when predicting it 
incorrectly, Postgres doesn't use the Memoize node. Disabling HashJoin 
puts NestLoop+Memoize at the place of the best path, which is chosen later.
Unfortunately, we can't see a prediction on the number of groups in 
Memoize and can only guess the issue.

-- 
regards, Andrei Lepikhov




pgsql-performance by date:

Previous
From: Ba Jinsheng
Date:
Subject: Performance of Query 60 on TPC-DS Benchmark