Re: pg_stat directory and pg_stat_statements

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема Re: pg_stat directory and pg_stat_statements
Дата
Msg-id CAG7mmoxvDUkSjOpH7roHOEssdooXxftLyqDw6utCONg2q7yH6Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_stat directory and pg_stat_statements  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
On Thu, May 29, 2014 at 11:32 AM, Peter Geoghegan <pg@heroku.com> wrote:
On Wed, May 28, 2014 at 10:49 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> You're concerned about the scenario using pg_upgrade?
Yeah - I was.
I'm not sure the detail
> of pg_upgrade. But if it doesn't work properly, we should have gotten
> the trouble

I'm not worried about pg_upgrade, because by design pg_stat_statements
will discard stats files that originated in earlier versions. However,
I don't see a need to change pg_stat_statements to serialize its
statistics to disk in the pg_stat directory before we branch off 9.4.
As you mentioned, it's harmless.
K.
I was just curious about the scenario.
If it was discarding the stats files that originated in earlier version, It should be ok.


--

Thanks & Regards,
Ashesh Vashi

 

--
Peter Geoghegan

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pg_stat directory and pg_stat_statements
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Ancient bug in formatting.c/to_char()