开发者

PostgreSQL server process -> client process mapping

开发者 https://www.devze.com 2023-03-11 21:05 出处:网络
How can I find whic开发者_StackOverflowh client process is connected to a server process?SELECT * FROM pg_stat_activity

How can I find whic开发者_StackOverflowh client process is connected to a server process?


SELECT *
FROM pg_stat_activity

More details in the manual:

http://www.postgresql.org/docs/9.0/static/monitoring-stats.html#MONITORING-STATS-VIEWS

http://www.postgresql.org/docs/9.0/static/monitoring.html

0

精彩评论

暂无评论...
验证码 换一张
取 消