Patch to send transaction commit/rollback stats to the stats collector unconditionally.

Поиск
Список
Период
Сортировка
От Gurjeet Singh
Тема Patch to send transaction commit/rollback stats to the stats collector unconditionally.
Дата
Msg-id CABwTF4Wg03L2qH91m0spjk-p1=NCsf4WE5u6yvKpdgyoKRE9og@mail.gmail.com
обсуждение исходный текст
Ответы Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Please find attached the patch to send transaction commit/rollback stats to stats collector unconditionally.

Without this patch, the transactions that do not read from/write to a database table do not get reported to the stats collector until the client disconnects. Hence the transaction counts in pg_stat_database do not increment gradually as one would expect them to. But when such a backend disconnects, the counts jump dramatically, giving the impression that the database processed a lot of transactions (potentially thousands) in an instant.

Best regards,
Вложения

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

Предыдущее
От: Christian Kruse
Дата:
Сообщение: Re: Patch: show relation and tuple infos of a lock to acquire
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb status