Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally.
Date
Msg-id 7973.1395260559@sss.pgh.pa.us
Whole thread Raw
In response to Patch to send transaction commit/rollback stats to the stats collector unconditionally.  (Gurjeet Singh <gurjeet@singh.im>)
Responses Re: Patch to send transaction commit/rollback stats to the stats collector unconditionally.
List pgsql-hackers
Gurjeet Singh <gurjeet@singh.im> writes:
> Please find attached the patch to send transaction commit/rollback stats to
> stats collector unconditionally.

That's intentional to reduce stats traffic.  What kind of performance
penalty does this patch impose?  If the number of such transactions is
large enough to create a noticeable jump in the counters, I would think
that this would be a pretty darn expensive "fix".
        regards, tom lane



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors
Next
From: Tom Lane
Date:
Subject: Re: Wiki Page Draft for upcoming release