Re: [HACKERS] logical replication worker and statistics

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] logical replication worker and statistics
Дата
Msg-id f88ee420-a8c5-cb1b-1acc-317fea376620@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] logical replication worker and statistics  (Stas Kelvich <s.kelvich@postgrespro.ru>)
Ответы Re: [HACKERS] logical replication worker and statistics
Список pgsql-hackers
On 4/10/17 05:49, Stas Kelvich wrote:
> Here is small patch to call statistics in logical worker. Originally i thought that stat
> collection during logical replication should manually account amounts of changed tuples,
> but seems that it is already smoothly handled on relation level. So call to 
> pgstat_report_stat() is enough.

I wonder whether we need a similar call somewhere in tablesync.c.  It
seems to work without it, though.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Compiler warning in costsize.c
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] logical replication worker and statistics