pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrei Lepikhov <a.lepikhov@postgrespro.ru>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Cc: John Naylor <johncnaylorls@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Unlinking Parallel Hash Join inner batch files sooner
Date: Wed, 21 Feb 2024 13:34:37 +0700
Message-ID: <c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru> (raw)
In-Reply-To: <CANWCAZY-KTbN1M2HUE-+C1TEZKerRRU9xgHN6Cczg7xaZ=wzyg@mail.gmail.com>
References: <CA+hUKG+RGdvhAdVu5_LH3Ksee+kW-XkTP_nMxBL+Rmgp3Tjb_w@mail.gmail.com>
	<20230510230031.4d710fd1@karst>
	<871e80d4-e8cf-a117-ceb2-141586a3bcd2@iki.fi>
	<CANWCAZY-KTbN1M2HUE-+C1TEZKerRRU9xgHN6Cczg7xaZ=wzyg@mail.gmail.com>

Hi,

I see in [1] that the reporter mentioned a delay between the error 
message in parallel HashJoin and the return control back from PSQL. Your 
patch might reduce this delay.
Also, I have the same complaint from users who processed gigabytes of 
data in parallel HashJoin. Presumably, they also stuck into the unlink 
of tons of temporary files. So, are you going to do something with this 
code?

[1] 
https://www.postgresql.org/message-id/18349-83d33dd3d0c855c3%40postgresql.org

-- 
regards,
Andrei Lepikhov
Postgres Professional






view thread (12+ messages)  latest in thread

Message-ID: <c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru>
Permalink:  ../c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru/
Also on:    postgresql.org/message-id/c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: a.lepikhov@postgrespro.ru, thomas.munro@gmail.com, hlinnaka@iki.fi, jgdr@dalibo.com, johncnaylorls@gmail.com
  Subject: Re: Unlinking Parallel Hash Join inner batch files sooner
  In-Reply-To: <c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru>
  References: <CA+hUKG+RGdvhAdVu5_LH3Ksee+kW-XkTP_nMxBL+Rmgp3Tjb_w@mail.gmail.com> <20230510230031.4d710fd1@karst> <871e80d4-e8cf-a117-ceb2-141586a3bcd2@iki.fi> <CANWCAZY-KTbN1M2HUE-+C1TEZKerRRU9xgHN6Cczg7xaZ=wzyg@mail.gmail.com> <c0b6efe0-04d4-4933-9d66-24a7b838bb3b@postgrespro.ru>

* 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