502 1209 1 0 2:28下午 ?? 0:00.03 /Library/PostgreSQL/9.3/bin/postmaster -D/Library/PostgreSQL/9.3/data
502 1210 1209 0 2:28下午 ?? 0:00.00 postgres: logger process
502 1212 1209 0 2:28下午 ?? 0:00.01 postgres: checkpointer process
502 1213 1209 0 2:28下午 ?? 0:00.06 postgres: writer process
502 1214 1209 0 2:28下午 ?? 0:00.03 postgres: wal writer process
502 1215 1209 0 2:28下午 ?? 0:00.02 postgres: autovacuum launcher process
502 1216 1209 0 2:28下午 ?? 0:00.04 postgres: stats collector process
502 1608 1209 0 3:11下午 ?? 0:00.10 postgres: postgres postgres ::1(53413) idle
502 1696 1209 0 3:18下午 ?? 0:00.00 postgres: postgres postgres ::1(53440) idle
postmaster 守护进程
logger process 日志进程
check pointer process 检查点进程
writer process 后台写进程
awl writer process 预写日志进程
autovacuum launcher process 自动清理进程
stats collector process 统计数据收集进程
当数据库连接建立后postmaster 进程启动子进程负责sql处理,在这里pg使用一连接一进程方式。