public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: Tomas Vondra <[email protected]>
Cc: bucoo <[email protected]>
Cc: pgsql-hackers <[email protected]>
Cc: Tom Lane <[email protected]>
Subject: Re: optimize hashjoin
Date: Wed, 21 Aug 2024 13:17:47 -0400
Message-ID: <CA+TgmoZVEZ9-CD5gSzRzPrWbYYwnMb0sc-DPFsA19KkZBjibaQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

On Wed, Aug 21, 2024 at 12:31 PM Tomas Vondra <[email protected]> wrote:
> Anyway, I took a look and the basic idea is simple - when shuffling
> tuples between batches in a hash join, we're currently deforming the
> tuple (->slot) we just read from a batch, only to immediately form it
> (slot->) again and write it to the "correct" batch.

Does skipping this cause any problem if some attributes are toasted?

I suppose not, just something to think about.

-- 
Robert Haas
EDB: http://www.enterprisedb.com






view thread (4+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: optimize hashjoin
  In-Reply-To: <CA+TgmoZVEZ9-CD5gSzRzPrWbYYwnMb0sc-DPFsA19KkZBjibaQ@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox