官术网_书友最值得收藏!

Chapter 2. Server Architecture

In the previous chapter, we saw that starting a PostgreSQL cluster kicks off a few processes. The processes manage quite a bit of file I/O, manage other processes, and deal with memory allocation and a lot of other work. In this chapter, we will focus on the processes and their roles, memory management, and how they work together.

We will start by listing the processes once again. No client is connected to any of the databases yet:

[root@MyCentOS ~]# ps f -U postgres
 PID TTY STAT TIME COMMAND
 1918 tty1 S 0:00 /usr/local/pgsql/bin/postgres
 1920 ? Ss 0:00 \_ postgres: checkpointer process 
 1921 ? Ss 0:00 \_ postgres: writer process 
 1922 ? Ss 0:00 \_ postgres: wal writer process 
 1923 ? Ss 0:00 \_ postgres: autovacuum launcher process 
 1924 ? Ss 0:00 \_ postgres: stats collector process 
主站蜘蛛池模板: 肥乡县| 洛隆县| 开封市| 友谊县| 新密市| 伊金霍洛旗| 广西| 定襄县| 潞西市| 朝阳区| 和龙市| 宁河县| 竹山县| 松原市| 龙陵县| 磴口县| 滕州市| 普陀区| 上虞市| 清徐县| 彩票| 松溪县| 从江县| 新宁县| 永福县| 云梦县| 泽库县| 红桥区| 景德镇市| 山西省| 宜章县| 堆龙德庆县| 铁岭县| 东山县| 临汾市| 唐海县| 新竹县| 额敏县| 乃东县| 太保市| 固始县|