Re: Add min and max execute statement time in pg_stat_statement - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Add min and max execute statement time in pg_stat_statement
Date
Msg-id 5269549B.1070803@agliodbs.com
Whole thread Raw
In response to Re: Add min and max execute statement time in pg_stat_statement  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
On 10/23/2013 08:52 PM, Alvaro Herrera wrote:
> Peter Geoghegan escribió:
>
>> I am interested in making it store richer statistics,
>> provided we're very careful about the costs. Every time those counters
>> are incremented, a spinlock is held.
>
> Hmm, now if we had portable atomic addition, so that we could spare the
> spinlock ...

Oh, sure, just take the *easy* way out.  ;-)


--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: CLUSTER FREEZE
Next
From: Tom Lane
Date:
Subject: Re: Sigh, my old HPUX box is totally broken by DSM patch