Re: pg15: reltuples stuck at -1 after pg_upgrade and VACUUM

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pg15: reltuples stuck at -1 after pg_upgrade and VACUUM
Дата
Msg-id CAH2-WznWY5buXOHxan5ATfhptCUmZwA=htrkm_Fj-TFsNfG6fg@mail.gmail.com
обсуждение исходный текст
Ответ на pg15: reltuples stuck at -1 after pg_upgrade and VACUUM  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: pg15: reltuples stuck at -1 after pg_upgrade and VACUUM
Список pgsql-hackers
On Tue, Aug 8, 2023 at 8:43 PM Justin Pryzby <pryzby@telsasoft.com> wrote:
> The problem isn't that reltuples == -1 after the upgrade (which is
> normal).  The issue is that if VACUUM skips all the pages, it can leave
> reltuples -1.  My expectation is that after running "vacuum", no tables
> are left in the "never have been vacuumed" state.

But -1 isn't the "never have been vacuumed" state, exactly. At best it
is the "never been vacuumed or analyzed" state.

--
Peter Geoghegan



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