Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raSGI-009o9L-84 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Feb 2024 03:18:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1raSGG-009yrF-5c for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Feb 2024 03:18:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raSGF-009yr7-7j for pgsql-hackers@lists.postgresql.org; Thu, 15 Feb 2024 03:18:07 +0000 Received: from m15.mail.163.com ([45.254.50.219]) by makus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1raSG8-006oLL-U3 for pgsql-hackers@lists.postgresql.org; Thu, 15 Feb 2024 03:18:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=NGX1drmAsckKfMuIXp87QdjWqxEUL+7trdsxfjcHMWk=; b=au9DLpoEAPRAjaNpotEzj6lkgaCQx+umxSyqXQ8r9ZvqyPLWAl5rUHjr5GIISE 0/GhQeEiNNMlkpj3T4HHf/7BIauH/RQDfaZIi5qx7K6weLB2q81JNAV2+3G0aeLy uyJ9hAtcfahoN1pbMVGHp8Og6Pg7pGhH43T6Si1/DrG2A= Received: from 8235eee8a2a0 (unknown [140.205.118.86]) by gzga-smtp-mta-g0-2 (Coremail) with SMTP id _____wDXz5Rfgs1lQxNkEA--.61578S3; Thu, 15 Feb 2024 11:17:52 +0800 (CST) References: User-agent: mu4e 1.10.7; emacs 29.1 From: Andy Fan To: Thomas Munro Cc: David Rowley , Andy Fan , pgsql-hackers , Zhang Mingli , pgsql-hackers@lists.postgresql.org Subject: Re: make add_paths_to_append_rel aware of startup cost Date: Thu, 15 Feb 2024 11:16:41 +0800 In-reply-to: Message-ID: <87eddeiffk.fsf@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID:_____wDXz5Rfgs1lQxNkEA--.61578S3 X-Coremail-Antispam: 1Uf129KBjvJXoW7Cw1fWr1kXr13tr1xKw4UArb_yoW8JFWUpa 4vyayay3srtry8X3y7Gr4rtay5Jrn7Ww15uws5Ww1UJr4F9F1fXF12kF90vFW7Xanagwsa 9w1rG3ZIyr45XaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07Uf8nrUUUUU= X-Originating-IP: [140.205.118.86] X-CM-SenderInfo: x2klx3xlid0iqsrtqiywtou0bp/xtbBzxaFU2V4Hz6ESgACs- List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Thu, Oct 5, 2023 at 9:07=E2=80=AFPM David Rowley wrote: >> Thanks. Pushed. > > FYI somehow this plan from a8a968a8212e flipped in this run: > > =3D=3D=3D dumping /home/bf/bf-build/mylodon/HEAD/pgsql.build/testrun/reco= very/027_stream_regress/data/regression.diffs > =3D=3D=3D > diff -U3 /home/bf/bf-build/mylodon/HEAD/pgsql/src/test/regress/expected/u= nion.out > /home/bf/bf-build/mylodon/HEAD/pgsql.build/testrun/recovery/027_stream_re= gress/data/results/union.out > --- /home/bf/bf-build/mylodon/HEAD/pgsql/src/test/regress/expected/union.= out > 2024-01-15 00:31:13.947555940 +0000 > +++ /home/bf/bf-build/mylodon/HEAD/pgsql.build/testrun/recovery/027_strea= m_regress/data/results/union.out > 2024-02-14 00:06:17.075584839 +0000 > @@ -1447,9 +1447,9 @@ > -> Append > -> Nested Loop > Join Filter: (t1.tenthous =3D t2.tenthous) > - -> Seq Scan on tenk1 t1 > + -> Seq Scan on tenk2 t2 > -> Materialize > - -> Seq Scan on tenk2 t2 > + -> Seq Scan on tenk1 t1 > -> Result > (8 rows) > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dmylodon&dt=3D20= 24-02-14%2000%3A01%3A03 Thanks for this information! I will take a look at this. --=20 Best Regards Andy Fan