On 8/12/21 1:19 PM, Mladen Gogala wrote:
> Hi!
>
> The idea is to log all statements by the particular user, not by
> everybody. The user in question uses Weblogic 12.2.1.4 and creates a
> connection pool so I need to find out which statements are the longest
> running ones and make them perform.
Would pg_stat_statements work for you?:
https://www.postgresql.org/docs/current/pgstatstatements.html
>
> Regards
>
--
Adrian Klaver
adrian.klaver@aklaver.com