Re: Reducing stats collection overhead

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Reducing stats collection overhead
Дата
Msg-id 1177845261.3663.88.camel@silverbirch.site
обсуждение исходный текст
Ответ на Reducing stats collection overhead  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, 2007-04-29 at 00:44 -0400, Tom Lane wrote:

> The first design that comes to mind is that at transaction end
> (pgstat_report_tabstat() time) we send a stats message only if at least
> X milliseconds have elapsed since we last sent one, where X is
> PGSTAT_STAT_INTERVAL or closely related to it.  We also make sure to
> flush stats out before process exit.

Sounds like a good general, long term solution.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Feature freeze progress report
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Feature freeze progress report