加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

关于PostgreSQL数据库中客户端连接产生的backend进程的解释

发布时间:2020-12-13 16:42:11 所属栏目:百科 来源:网络整理
导读:[postgres@pgserver ~]$ ps -ef |grep postgresroot 1070 1054 0 18:38 tty1 00:00:00 su - postgrespostgres 1071 1070 0 18:38 tty1 00:00:00 -bashpostgres 1252 1 0 19:09 ? 00:00:00 /usr/local/pgsql/bin/postgrespostgres 1254 1252 0 19:09 ? 00:00:
[postgres@pgserver ~]$ ps -ef |grep postgres
root      1070  1054  0 18:38 tty1     00:00:00 su - postgres
postgres  1071  1070  0 18:38 tty1     00:00:00 -bash
postgres  1252     1  0 19:09 ?        00:00:00 /usr/local/pgsql/bin/postgres
postgres  1254  1252  0 19:09 ?        00:00:00 postgres: checkpointer process  
postgres  1255  1252  0 19:09 ?        00:00:00 postgres: writer process   
postgres  1256  1252  0 19:09 ?        00:00:00 postgres: wal writer process  
postgres  1257  1252  0 19:09 ?        00:00:00 postgres: autovacuum launcher process  
postgres  1258  1252  0 19:09 ?        00:00:00 postgres: stats collector process  
postgres  1259  1252  0 19:09 ?        00:00:00 postgres: bgworker: logical replication launcher  
root      1521  1489  0 21:39 pts/1    00:00:00 su - postgres
postgres  1522  1521  0 21:39 pts/1    00:00:00 -bash
postgres  1561  1252  0 21:49 ?        00:00:00 postgres: u_nasa db_nasa 192.168.80.1(65137) idle
postgres  1562  1252  0 21:49 ?        00:00:00 postgres: u_nasa db_nasa 192.168.80.1(65138) idle
                                          固定值postgres: user db 客户端IP(客户端应用程序使用的端口)动作
postgres  1566  1522  0 21:50 pts/1    00:00:00 ps -ef
postgres  1567  1522  0 21:50 pts/1    00:00:00 grep --color=auto postgres
[postgres@pgserver ~]$

参考:https://www.postgresql.org/docs/current/static/monitoring-ps.html

http://www.52php.cn/article/p-rdseetia-bqt.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读