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

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 
主站蜘蛛池模板: 陵水| 浏阳市| 台中县| 林周县| 陇川县| 香河县| 辽宁省| 拜泉县| 扎赉特旗| 太谷县| 尼勒克县| 五寨县| 尚义县| 阜康市| 开封县| 正蓝旗| 观塘区| 郯城县| 海口市| 响水县| 哈巴河县| 新密市| 孟连| 武陟县| 阿克| 伊春市| 长武县| 科技| 崇义县| 科技| 正镶白旗| 永顺县| 桑日县| 余庆县| 延安市| 开阳县| 渝北区| 浦县| 化州市| 广东省| 荣昌县|