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

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 
主站蜘蛛池模板: 安国市| 思茅市| 汤阴县| 凉城县| 剑阁县| 上饶市| 石屏县| 水富县| 左贡县| 商南县| 广饶县| 九台市| 堆龙德庆县| 宜良县| 东山县| 阜康市| 纳雍县| 富平县| 炉霍县| 宝山区| 博客| 宕昌县| 揭东县| 山东| 兴义市| 莱州市| 昌平区| 永胜县| 利津县| 蒙阴县| 定襄县| 阳信县| 噶尔县| 张北县| 屏东县| 盐山县| 抚宁县| 资中县| 武隆县| 常熟市| 顺平县|