Re: explain analyze rows=%.0f

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: explain analyze rows=%.0f
Дата
Msg-id ae90d15d-54e5-4caa-ba72-5bbed9b2c908@gmail.com
обсуждение исходный текст
Ответ на Re: explain analyze rows=%.0f  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 3/31/25 19:35, Robert Haas wrote:
> But why isn't it just as valuable to have two decimal places for the
> estimate? I theorize that the cases that are really a problem here are
> those where the row count estimate is between 0 and 1 per row, and
> rounding to an integer loses all precision.
Issues I've ever seen were about zero rows number - we lose 
understanding of what the job the executor has done in the node - loops 
= 10000000 doesn't tell us any helpful information in that case.
Maybe in the next version, we replace the two fractional numbers rule 
with two valuable numbers. At least, it removes boring xxx.00 numbers 
from EXPLAIN.

-- 
regards, Andrei Lepikhov



В списке pgsql-hackers по дате отправления: