sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.05k stars 983 forks source link

Implement table `pg_stat_activity` in `stats` #4682

Open renecannao opened 2 months ago

renecannao commented 2 months ago

We need to implement table pg_stat_activity as a view against stats_pgsql_processlist , changing column name when necessary

For reference: https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW