Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment

From: Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Lukas Fittl <lukas(at)fittl(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Andrei Lepikhov <lepihov(at)gmail(dot)com>
Subject: Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment
Date: 2025-04-15 22:09:20
Message-ID: 7e995158-157e-4ec6-a7c8-266c1a6f7b43@tantorlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've prepared the updated patches as discussed, including the addition
of estimated lookups in the EXPLAIN output for Memoize. Please let me
know if you have any feedback or further suggestions.

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.

Attachment Content-Type Size
v8-0001-Show-ndistinct-and-est_entries-in-EXPLAIN-for-Mem.patch text/x-patch 5.9 KB
v8-0002-Add-Estimated-Hit-Ratio-for-Memoize-plan-nodes-in.patch text/x-patch 5.6 KB
v8-0003-Show-estimated-lookups-in-EXPLAIN-ouput-for-Memoi.patch text/x-patch 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2025-04-15 22:25:43 Re: dispchar for oauth_client_secret
Previous Message Jelte Fennema-Nio 2025-04-15 22:00:19 Re: pipelining in psql, commit 41625ab