Re: A problem about partitionwise join

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, ashutosh(dot)bapat(at)enterprisedb(dot)com
Subject: Re: A problem about partitionwise join
Date: 2024-07-30 07:36:00
Message-ID: CAMbWs4-LyNkd_+wEFx6YVPJ_C8Jw-ThWYJM2_koFfTJw8R6RbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 8, 2024 at 5:01 PM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> Below is what I got on my local machine.
>
> -- on master
>
> measurement | average | maximum | minimum | std_dev | std_dev_as_perc_of_avg
> ---------------+----------+----------+----------+---------+------------------------
> planning time | 30355.07 | 33148.47 | 29020.82 | 1681.23 | 5.54%
>
>
> -- on patched
>
> measurement | average | maximum | minimum | std_dev | std_dev_as_perc_of_avg
> ---------------+----------+----------+----------+---------+------------------------
> planning time | 30600.00 | 33523.23 | 28680.75 | 1861.90 | 6.08%
>
>
> -- without partitionwise join
>
> measurement | average | maximum | minimum | std_dev | std_dev_as_perc_of_avg
> ---------------+---------+---------+---------+---------+------------------------
> planning time | 4840.18 | 5184.05 | 4528.87 | 299.98 | 6.20%
>
>
> So it seems that the planning time is not significantly affected by this
> patch, particularly when compared to the impact caused by partitionwise
> join.

This benchmark shows that the impact of this patch on planning time is
within the margin of error, particularly compared to the impact of
partitionwise joins. So I've pushed this patch after working a bit
more on the commit message.

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2024-07-30 07:42:30 Re: Trivial revise for the check of parameterized partial paths
Previous Message Heikki Linnakangas 2024-07-30 07:25:06 Re: Is *fast* 32-bit support still important?