Re: [PROPOSAL] timestamp informations to pg_stat_statements - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: [PROPOSAL] timestamp informations to pg_stat_statements
Date
Msg-id c124cfb7-a89a-322e-6809-a18066c87265@dalibo.com
Whole thread Raw
In response to Re: [PROPOSAL] timestamp informations to pg_stat_statements  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On 18/07/2016 01:06, Peter Geoghegan wrote:
> On Sun, Jul 17, 2016 at 12:22 AM, Jun Cheol Gim <dialogbox@gmail.com> wrote:
>> If we have timestamp of first and last executed, we can easily gather thess
>> informations and there are tons of more use cases.
> 
> -1 from me.
> 
> I think that this is the job of a tool that aggregates things from
> pg_stat_statements. It's unfortunate that there isn't a good
> third-party tool that does that, but there is nothing that prevents
> it.
> 

FWIW there's https://github.com/dalibo/powa-archivist which does that,
assuming you're using a 9.4+ server.

-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: DO with a large amount of statements get stuck with high memory consumption
Next
From: Tom Lane
Date:
Subject: Re: Regression tests vs existing users in an installation