Re: Add mode column to pg_stat_progress_vacuum

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: Add mode column to pg_stat_progress_vacuum
Дата
Msg-id CAA5RZ0suoicwxFeK_eDkUrzF7s0BVTaE7M+ehCpYcCk5wiECpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add mode column to pg_stat_progress_vacuum  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Ответы Re: Add mode column to pg_stat_progress_vacuum
Список pgsql-hackers
Hi,

The patch looks overall good to me. I have a few comments:

1/ I believe It is possible for the mode to flip to "failsafe" during the
operation since lazy_check_wraparound_failsafe() is checked in-flight.
I think this should be mentioned in the "mode" section of the documentation
in the "failsafe" description.

2/ It feels odd that we do not have parity of the "mode" column in
pg_stat_progress_analyze. Should we add a "mode" column
there also that shows if the analyze was triggered_by "manual" or
"autovacuum"? An autovacuum in a relation can trigger both
a vacuum and an analyze, and a VACUUM(ANALYZE) will
also do both.

--
Sami Imseih
Amazon Web Services (AWS)



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