Re: Row estimates for empty tables

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: Row estimates for empty tables
Дата
Msg-id E15CF3EC-2A99-43C6-9FEA-D52B58DE9B1B@thebuild.com
обсуждение исходный текст
Ответ на Re: Row estimates for empty tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

> On Jul 24, 2020, at 14:09, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Rather than adding another pg_class column, I'm tempted to say that
> vacuum/analyze should set relpages to a minimum of 1, even if the
> relation has zero pages.

If there's not an issue about relpages != actual pages on disk, that certain seems straight-forward, and no *more*
hackythan the current situation. 

--
-- Christophe Pettus
   xof@thebuild.com




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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: when is RLS policy applied
Следующее
От: David Rowley
Дата:
Сообщение: Re: bad JIT decision