Re: pg_stat_database update stats_reset only by pg_stat_reset

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_stat_database update stats_reset only by pg_stat_reset
Дата
Msg-id 20190712045150.GI2149@paquier.xyz
обсуждение исходный текст
Ответ на Re: pg_stat_database update stats_reset only by pg_stat_reset  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: pg_stat_database update stats_reset only by pg_stat_reset  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Jul 11, 2019 at 04:34:20PM +0200, Daniel Verite wrote:
> I can understand why you'd want that resetting the stats for a single object
> would not reset the per-database timestamp, but this would revert a 8+ years
> old decision that seems intentional and has apparently not been criticized
> since then (based on searching for pg_stat_reset_single_table_counters in
> the archives) . More opinions are probably needed in favor of this
> change (or against, in which case the fate of the patch might be a
> rejection).

I agree with Daniel that breaking an 8-year-old behavior may not be of
the taste of folks relying on the current behavior, particularly
because we have not had complains about the current behavior being
bad.  So -1 from me.
--
Michael

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Excessive memory usage in multi-statement queries w/ partitioning
Следующее
От: Robins Tharakan
Дата:
Сообщение: Re: Brazil disables DST - 2019b update