Re: CPU time for pg_stat_statement - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: CPU time for pg_stat_statement
Date
Msg-id CA+hUKG+f5MtR=cHMsVnGcn=1yVY4sX7EnucGoZrB33wP798=og@mail.gmail.com
Whole thread Raw
In response to CPU time for pg_stat_statement  (Michail Nikolaev <michail.nikolaev@gmail.com>)
Responses Re: CPU time for pg_stat_statement
List pgsql-hackers
On Sat, May 21, 2022 at 6:50 AM Michail Nikolaev
<michail.nikolaev@gmail.com> wrote:
> But what do you think about adding cpu_time (by calling getrusage) to
> pg_stat_statements? Seems it could be very useful for CPU profiling.
>
> I am probably able to prepare the patch, but it is always better to
> get some feedback on the idea first :)

This might be interesting:

https://github.com/powa-team/pg_stat_kcache



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: CPU time for pg_stat_statement
Next
From: Michail Nikolaev
Date:
Subject: Re: CPU time for pg_stat_statement