On Sat, May 21, 2022 at 6:50 AM Michail Nikolaev <michail.nikol...@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