From: Arne Roland <A.Roland@index.de>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
Date: Thu, 3 Jun 2021 17:17:55 +0000
Message-ID: <477344d5f17c4a8e95d3a5bb6642718a@index.de> (raw)
In-Reply-To: <1946b902b91a480ba0d29f1c86016d7a@index.de>
References: <e8f9ec90-546d-e948-acce-0525f3e92773@enterprisedb.com>
<1946b902b91a480ba0d29f1c86016d7a@index.de>
Hi,
I haven't tested the parallel case, but I think we should sort out (3) get_cheapest_fractional_path_for_pathkeys as mentioned above.
I am lost about the comment regarding startup_new_fractional. Could you elaborate what you mean by that?
Apart from that, I'd argue for a small test case. I attached a slimmed down case of what we were trying to fix. It might be worth to integrate that with an existing test, since more than a third of the time seems to be consumed by the creation and attachment of partitions.
Regards
Arne
Attachments:
merge-fraction-cheapest_example.sql (application/sql, 890B) 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-hackers@postgresql.org
Cc: A.Roland@index.de, tomas.vondra@enterprisedb.com
Subject: Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
In-Reply-To: <477344d5f17c4a8e95d3a5bb6642718a@index.de>
References: <e8f9ec90-546d-e948-acce-0525f3e92773@enterprisedb.com> <1946b902b91a480ba0d29f1c86016d7a@index.de> <477344d5f17c4a8e95d3a5bb6642718a@index.de>
* 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