Configurable Additional Stats

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Configurable Additional Stats
Дата
Msg-id 1183119038.3589.87.camel@silverbirch.site
обсуждение исходный текст
Ответы Re: Configurable Additional Stats  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I've got a requirement to produce some additional stats from the server
while it executes. Specifically, I'm looking at table interaction stats
to make it easier to determine replication sets accurately for a given
transaction mix.

On brief discussion, seems like a good approach would be to put in a
user exit/plugin/hook in AtEOXact_PgStat(). That way we don't need to
add more log_* parameters for this and every additional need.

Something like this...

if (stats_hook)(* stats_hook)(pgStatTabList);

Any objections to sliding this in?

BTW, do we have a section in the docs on what plugin points are now
available? 

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




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCHES] Doc update for pg_start_backup
Следующее
От: Theo Schlossnagle
Дата:
Сообщение: Re: [PATCHES] Doc update for pg_start_backup