Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment - Mailing list pgsql-hackers

From Ilia Evdokimov
Subject Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment
Date
Msg-id 14a42b49-f733-41ba-9cde-8669984116e6@tantorlabs.com
Whole thread Raw
In response to Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment  (Andrei Lepikhov <lepihov@gmail.com>)
List pgsql-hackers
On 01.05.2025 16:37, Andrei Lepikhov wrote:
> I still think that two meaningful digits are enough for an EXPLAIN. We 
> usually need to estimate the tuple set's size, not a precise number of 
> tuples or groups. And definitely, not an arbitrarily chosen two digits 
> after the point. So, IMO, good examples may look like the following:
> 50%, 5.0%, 0.00051%.
>

The idea is not bad. But I think it might be better to raise this in a 
new thread, because this is not the only place [0] where we might want 
to output numbers like that. We could also discuss there what else might 
benefit from such formatting.

[0]: 
https://www.postgresql.org/message-id/3365160.1739385615%40sss.pgh.pa.us

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




pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Some problems regarding the self-join elimination code
Next
From: Masahiko Sawada
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations