Re: Location for pgstat.stat

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Location for pgstat.stat
Дата
Msg-id 17913.1214939463@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Location for pgstat.stat  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Location for pgstat.stat  (Magnus Hagander <magnus@hagander.net>)
Re: Location for pgstat.stat  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> Hmm ... that would almost certainly result in the stats being lost over
>> a system shutdown.  How much do we care?

> Only for those who put it on a ramdrive. The default, unless you
> move/sync it off, would still be the same as it is today. While not
> perfect, the performance difference of going to a ramdrive might easily
> be enough to offset that in some cases, I think.

Well, what I was wondering about is whether it'd be worth adding logic
to copy the file to/from a "safer" location at startup/shutdown.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Fairly serious bug induced by latest guc enum changes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fairly serious bug induced by latest guc enum changes