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 1u4FiN-009tB9-D4 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Apr 2025 09:02:52 +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 1u4FiL-00G2VW-0t for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Apr 2025 09:02:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4FiK-00G2VO-NV for pgsql-hackers@lists.postgresql.org; Mon, 14 Apr 2025 09:02:49 +0000 Received: from forward501b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d501]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u4FiI-000GHj-2I for pgsql-hackers@lists.postgresql.org; Mon, 14 Apr 2025 09:02:49 +0000 Received: from mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net [IPv6:2a02:6b8:c23:2129:0:640:f8ac:0]) by forward501b.mail.yandex.net (Yandex) with ESMTPS id CA3E561233; Mon, 14 Apr 2025 12:02:44 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id g2CFQ5kLdOs0-QxdhFzbc; Mon, 14 Apr 2025 12:02:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tantorlabs.com; s=mail; t=1744621364; bh=j0r4DZ0Z4t8q9iJCQs9zYsZKX0f/RztO5vay+rdblUk=; h=In-Reply-To:Cc:Date:References:To:From:Subject:Message-ID; b=2hHTNNeQDFvngP/rbzmKjrIKRssan5ty3HF5xJOE9wn5nAINudNHJbWgynTj8MHUl NaOQP4vZBUugMXjTz1vHuSc+sLb09I436Z3KYolBv5GbwJpYYgm3BWVvE1cga/a032 ymo89KOD9mMHwgnwLrZD4tCbiYm0PuwMLINDLcw4= Authentication-Results: mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net; dkim=pass header.i=@tantorlabs.com Message-ID: <518993f6-0bfe-4c7a-be11-b230adb5a5f5@tantorlabs.com> Date: Mon, 14 Apr 2025 12:02:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment From: Ilia Evdokimov To: David Rowley Cc: Robert Haas , Tom Lane , Lukas Fittl , Daniel Gustafsson , PostgreSQL Hackers , Nikolay Samokhvalov , Andrei Lepikhov References: <8e12aa55-39eb-4e03-a8f7-077fe02309c3@gmail.com> <11c709e1-9b17-4c00-9ead-93609a09b9db@gmail.com> <1161645.1742854534@sss.pgh.pa.us> <1164845.1742856354@sss.pgh.pa.us> <3ba16aa7-3cb2-4289-b773-522ae2f03a77@tantorlabs.com> <81ef0f5a-b6a1-4417-ae3a-2bae9b8d419e@gmail.com> <67b5c84a-dedd-4103-af7e-0117046102fe@tantorlabs.com> <580fe72c-85be-45a8-9e00-6b5417690557@tantorlabs.com> <7c7f40ae-dc26-4191-af3f-3277ab1c45a2@tantorlabs.com> Content-Language: en-US In-Reply-To: <7c7f40ae-dc26-4191-af3f-3277ab1c45a2@tantorlabs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk As there seems to be general support for the idea behind this patch, and no one has raised strong objections recently, but also no clear consensus on the exact final shape of the output has been reached yet - and I understand other priorities might be taking precedence right now - I’ve registered the patch in the upcoming CommitFest 2025-07 to ensure it stays in the review process. https://commitfest.postgresql.org/patch/5697/ -- Best regards, Ilia Evdokimov, Tantor Labs LLC.