SELECT pid, age(clock_timestamp(),query_start) as age, usename, query, state from pg_stat_activity order by age;When the cpu is 100% and the app slowing down, i can see that some queries have a long age.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных