Re: pgstattuple: fix free space calculation

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: pgstattuple: fix free space calculation
Дата
Msg-id e61330ee-012f-4fb3-85b0-b47a15f5dce4@proxel.se
обсуждение исходный текст
Ответ на Re: pgstattuple: fix free space calculation  (Rafia Sabih <rafia.pghackers@gmail.com>)
Список pgsql-hackers
On 8/29/24 4:53 PM, Frédéric Yhuel wrote:
> So I think we should just use PageGetExactFreeSpace().

I agree, I feel that is the least surprising behavior because we 
currently sum tiny amounts of free space that is unusable anyway. E.g. 
imagine one million pages with 10 free bytes each, that looks like 10 
free MB so I do not see why we should treat the max tuples per page case 
with any special logic.

Andreas



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