Re: Configurable Additional Stats

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Configurable Additional Stats
Дата
Msg-id 46854DC5.8030903@postgresql.org
обсуждение исходный текст
Ответ на Re: Configurable Additional Stats  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Configurable Additional Stats  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Gregory Stark wrote:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
> 
>> "Simon Riggs" <simon@2ndquadrant.com> writes:
>>> if (stats_hook)
>>>     (* stats_hook)(pgStatTabList);
>>> Any objections to sliding this in?
>> Only that it's useless.  What are you going to do in such a hook?
> 
> Simon left for camping before you sent this. My understanding is he wants to
> gather the data elsewhere. So either he'll just elog when it and grovel the
> logs or send it via some other method. Alternatively he could aggregate the
> data himself and save it in a file kind of gprof-style.
> 

Yes, it's not intended to insert more stats, but to get the raw data out
for external analysis during development and testing of applications and
systems etc.

Regards, Dave.


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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Bgwriter LRU cleaning: we've been going at this all wrong
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Configurable Additional Stats