Re: Speedup truncations of temporary relation forks

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Maxim Orlov <orlovmg(at)gmail(dot)com>
Cc: Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, Daniil Davydov <3danissimo(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Speedup truncations of temporary relation forks
Date: 2025-07-04 00:10:31
Message-ID: ef0d3f0d-e605-4c87-bcc1-6944fbac0c83@oss.nttdata.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025/06/04 23:43, Maxim Orlov wrote:
>
> On Wed, 4 Jun 2025 at 16:18, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com <mailto:masao(dot)fujii(at)oss(dot)nttdata(dot)com>> wrote:
>
>
> Regardless, I think we should go ahead and apply the current patch.
>
>
> Yeah, it is definitely improving things. It turns out that I made almost the same
> patch for our fork of Postgres, commissioned by one of the clients dealing with
> truncation of huge amount of temp relations. Back in the days, it solves the
> problem for him. But then I utterly forgot to share it with the community.
> Shame on me.
>
> Anyway, the patch looks good to me. Hope, it will be committed soon.

Patch pushed. Thanks, everyone!

Regards,

--
Fujii Masao
NTT DATA Japan Corporation

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2025-07-04 00:26:55 Re: parallel safety of correlated subquery
Previous Message Tomas Vondra 2025-07-04 00:06:16 Re: Changing shared_buffers without restart