From: Aleksander Alekseev <a.alekseev@postgrespro.ru>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Improve performance of find_all_inheritors()
Date: Tue, 28 Mar 2017 22:59:15 +0300
Message-ID: <20170328195914.GA2265@e733.localdomain> (raw)
In-Reply-To: <CA+TgmoYbfybPpU9N8Jh+sXTO+nqDh9_kfMJp7MvxCmP+0OFDKw@mail.gmail.com>
References: <E1csXBn-0008T5-D9@gemulon.postgresql.org>
<CA+TgmoYbfybPpU9N8Jh+sXTO+nqDh9_kfMJp7MvxCmP+0OFDKw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Hi, Robert.
> I'm a little worried that this will be noticeably slower when the
> number of partitions is small, like 4 or 8 or 16. In other places,
> we've found it necessary to support both a list-based strategy and a
> hash-based strategy to avoid regressing small cases (e.g.
> join_rel_list + join_rel_hash in PlannerInfo, ResourceArray in
> resowner.c, etc).
I've checked it [1]. Apparently in this particular case patches make code
faster on small amount of partitions as well.
[1] https://postgr.es/m/20170324132258.GB16830%40e733.localdomain
--
Best regards,
Aleksander Alekseev
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: a.alekseev@postgrespro.ru, robertmhaas@gmail.com, teodor@sigaev.ru, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Improve performance of find_all_inheritors()
In-Reply-To: <20170328195914.GA2265@e733.localdomain>
References: <E1csXBn-0008T5-D9@gemulon.postgresql.org> <CA+TgmoYbfybPpU9N8Jh+sXTO+nqDh9_kfMJp7MvxCmP+0OFDKw@mail.gmail.com> <20170328195914.GA2265@e733.localdomain>
* 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