From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Consider cheap startup paths in add_paths_to_append_rel
Date: Thu, 05 Oct 2023 08:04:05 +0000
Message-ID: <E1qoJL3-0007tE-14@gemulon.postgresql.org> (raw)
Consider cheap startup paths in add_paths_to_append_rel
6b94e7a6d did this for ordered append paths to allow fast startup
MergeAppends, however, nothing was done for the Append case.
Here we adjust add_paths_to_append_rel() to have it build an AppendPath
containing the cheapest startup paths from each of the child relations
when the append rel has "consider_startup" set.
Author: Andy Fan, David Rowley
Discussion: https://www.postgresql.org/message-id/CAKU4AWrXSkUV=Pt-gRxQT7EbfUeNssprGyNsB=5mJibFZ6S3ww@mail.gmail...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a8a968a8212ee3ef7f22795c834b33d871fac262
Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 21 +++++++++++++++++++++
src/test/regress/expected/union.out | 21 +++++++++++++++++++++
src/test/regress/sql/union.sql | 11 +++++++++++
3 files changed, 53 insertions(+)
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: pgsql-committers@postgresql.org
Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Consider cheap startup paths in add_paths_to_append_rel
In-Reply-To: <E1qoJL3-0007tE-14@gemulon.postgresql.org>
* 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