From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Optimize RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS.
Date: Sat, 11 Apr 2020 17:35:41 +0000
Message-ID: <E1jNK2f-0000Vy-GF@gemulon.postgresql.org> (raw)
Optimize RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS.
Specifically, remember lookup_type_cache() results instead of retrieving
them once per comparison. Under CLOBBER_CACHE_ALWAYS, this reduced
src/test/subscription/t/001_rep_changes.pl elapsed time by an order of
magnitude, which reduced check-world elapsed time by 9%.
Discussion: https://postgr.es/m/20200406085420.GC162712@rfd.leadboat.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/328c70997bc3518a50bd9a8ff33de349a7223413
Modified Files
--------------
src/backend/executor/execReplication.c | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
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-committers@postgresql.org
Cc: noah@leadboat.com
Subject: Re: pgsql: Optimize RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS.
In-Reply-To: <E1jNK2f-0000Vy-GF@gemulon.postgresql.org>
References: <E1jNK2f-0000Vy-GF@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