pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thom@linux.com>
Cc: Richard Guo <guofenglinux@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: remove_useless_joins vs. bug #19560
Date: Sun, 26 Jul 2026 16:34:43 -0400
Message-ID: <3315105.1785098083@sss.pgh.pa.us> (raw)
In-Reply-To: <2746010.1785014587@sss.pgh.pa.us>
References: <1186816.1784573544@sss.pgh.pa.us>
	<CAMbWs49s+AdZgvrxm3bxqEWGKeFcK=r41TpfT+x+wzucVV+ORA@mail.gmail.com>
	<2727652.1784997994@sss.pgh.pa.us>
	<CAA-aLv7GGm3OwWOAGou0k-j5jyjSyOMqVc3-GxxO0NjjX+vDmg@mail.gmail.com>
	<2746010.1785014587@sss.pgh.pa.us>

I wrote:
> As for the speed question, I'd not poked at the details of Claude's
> claim, but I guess I should have.

I asked Claude to explain exactly how it arrived at its numbers,
and the answer is that it missed the problem the first time, partly
through not trying to go higher than N=8.  Full details attached for
the archives' sake, though I think this is now of mostly academic
interest.

			regards, tom lane

Attachments:

  benchmark.tar.gz (application/gzip, 6.3K) download

view thread (74+ messages)  latest in thread

Message-ID: <3315105.1785098083@sss.pgh.pa.us>
Permalink:  ../3315105.1785098083@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3315105.1785098083@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, thom@linux.com, guofenglinux@gmail.com
  Subject: Re: remove_useless_joins vs. bug #19560
  In-Reply-To: <3315105.1785098083@sss.pgh.pa.us>
  References: <1186816.1784573544@sss.pgh.pa.us> <CAMbWs49s+AdZgvrxm3bxqEWGKeFcK=r41TpfT+x+wzucVV+ORA@mail.gmail.com> <2727652.1784997994@sss.pgh.pa.us> <CAA-aLv7GGm3OwWOAGou0k-j5jyjSyOMqVc3-GxxO0NjjX+vDmg@mail.gmail.com> <2746010.1785014587@sss.pgh.pa.us> <3315105.1785098083@sss.pgh.pa.us>

* 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