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

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 
主站蜘蛛池模板: 高青县| 时尚| 辽源市| 平阳县| 尼勒克县| 沙坪坝区| 海原县| 密云县| 石棉县| 道真| 永嘉县| 襄樊市| 建湖县| 化德县| 松阳县| 锦州市| 安国市| 东宁县| 丹阳市| 鹿邑县| 句容市| 嵩明县| 洪江市| 绥江县| 乳源| 中宁县| 曲麻莱县| 庆元县| 当涂县| 通许县| 马龙县| 文山县| 聂荣县| 巍山| 申扎县| 墨脱县| 攀枝花市| 息烽县| 莱阳市| 闻喜县| 丰原市|