pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrei Lepikhov <lepihov@gmail.com>
To: Ba Jinsheng <bajinsheng@u.nus.edu>
Cc: Tomas Vondra <tomas@vondra.me>
Cc: Zhang Mingli <zmlpostgres@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: Question of Parallel Hash Join on TPC-H Benchmark
Date: Sun, 13 Oct 2024 16:57:59 +0700
Message-ID: <759cb12e-560c-4158-8bac-6e1e939c391f@gmail.com> (raw)
In-Reply-To: <SEZPR06MB6494193C09614916D6D481098A7B2@SEZPR06MB6494.apcprd06.prod.outlook.com>
References: <SEZPR06MB64945FE5A48A367A8C0EE8FC8A782@SEZPR06MB6494.apcprd06.prod.outlook.com>
	<SEZPR06MB6494C5B80077EC08B21772888A782@SEZPR06MB6494.apcprd06.prod.outlook.com>
	<20f9671d-6f40-429b-a749-a2f53086e0dd@vondra.me>
	<3c7df680-97e6-4f20-ab27-65fb8282f95e@Spark>
	<SEZPR06MB6494BD3DDF5B03700032C2C98A782@SEZPR06MB6494.apcprd06.prod.outlook.com>
	<978176f8-14a5-4f4d-8925-07d2e7dec4ce@gmail.com>
	<SEZPR06MB649483EF863B323B090986AD8A7A2@SEZPR06MB6494.apcprd06.prod.outlook.com>
	<59f605ce-00f2-401b-be1e-5b684326ab6e@gmail.com>
	<SEZPR06MB6494193C09614916D6D481098A7B2@SEZPR06MB6494.apcprd06.prod.outlook.com>

On 13/10/2024 15:57, Ba Jinsheng wrote:
> Thanks for looking into it!
> We are working a research project to automatically look for such cases.
> If it matters for PostgreSQL, I will report more such cases.
I made an attempt last year [1]. However, at least in production, it 
provided too many false-positive cases to trigger automatic 
re-optimisation [2] on each poorly estimated query plan.
I wonder if you have any progress in that area. Living nearby Singapore 
(Chon Buri, Thailand) I would like to visit meetup related to this 
problem, if you organised it.
Of course, reporting performance issues is always beneficial.

[1] https://github.com/danolivo/pg_track_optimizer
[2] https://postgrespro.com/docs/enterprise/16/realtime-query-replanning

-- 
regards, Andrei Lepikhov






view thread (12+ messages)  latest in thread

Message-ID: <759cb12e-560c-4158-8bac-6e1e939c391f@gmail.com>
Permalink:  ../759cb12e-560c-4158-8bac-6e1e939c391f@gmail.com/
Also on:    postgresql.org/message-id/759cb12e-560c-4158-8bac-6e1e939c391f@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: lepihov@gmail.com, bajinsheng@u.nus.edu, tomas@vondra.me, zmlpostgres@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Question of Parallel Hash Join on TPC-H Benchmark
  In-Reply-To: <759cb12e-560c-4158-8bac-6e1e939c391f@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox