Re: pgstat: delayed write of stats file

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgstat: delayed write of stats file
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0F942@algol.sollentuna.se
обсуждение исходный текст
Ответ на pgstat: delayed write of stats file  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: pgstat: delayed write of stats file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> > > Magnus Hagander wrote:
> > >> Per some earlier discussion, here is an attempt at
> implementing a
> > >> "delayed write" of the pgstats file, to decrease the
> write activity
> > >> on that file.
> >
> > This was not ready to be applied, was it?  "An attempt"
> doesn't sound
> > to me like Magnus thought it was ready for prime time, and my
> > recollection of the thread is that there were objections.
>
> I don't remember any objection.  Magnus, Tom, revert?

I don't recall any specific objections that weren't answered. There was
some (short) talk about having a "backoff" so it won't update the file
too often if the user requests it, but I don't think we ever concluded
if that was necessary or not. If it is, I think we can add that on top
of what's there now, and there's no need to revert.

If there were/are other objections that I missed, a revert might be
needed. Can't really comment since I missed them in that case ;-)

I think the use of "attempt" was more that I expected more comments, and
also somewhat in light of the concurrent discussions about getting rid
of the code to accept delayed destroy messages.

//Magnus

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgstat: delayed write of stats file
Следующее
От: Atsushi Ogawa
Дата:
Сообщение: Improvement of search for a binary operator