From 6409275470b0fd68bd3cfe730dc3833d8925e5fa Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Tue, 11 Oct 2016 07:58:55 +0900 Subject: [PATCH] Add "Architectural Functionality" section to Tutorial. --- doc/src/sgml/start.sgml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/start.sgml b/doc/src/sgml/start.sgml index 1f23e161d..f69050e16 100644 --- a/doc/src/sgml/start.sgml +++ b/doc/src/sgml/start.sgml @@ -385,7 +385,40 @@ $psql -p $PORT -c "SELECT pg_stop_backup()" postgres Architectural Fundamentals - pgpool-II architecure, including connection pooling, failover, replication and online recovery. + Pgpool-II is a proxy server sitting + between clients and PostgreSQL. + Pgpool-II understands the wire level + protocol used by PostgreSQL called + "frontend and backend protocol". For more details of the + protocol, see the PostgreSQL manual. + No modified PostgreSQL is required to + use Pgpool-II (more precisely, you + will need a few extensions to use full functions + of Pgpool-II). So Pgpool-II + can cope with variety of PostgreSQL + versions. In theory, even the earliest version + of PostgreSQL can be used + with Pgpool-II. Same thing can be + said to client side. As long as it follows the + protocol, Pgpool-II happily accept + connections from it, no matter what kind of languages or drivers + it uses. + + + + Pgpool-II consists of multiple + process. There is a main process, which is the parent process of + all other process. It is responsible for forking child process + each of which accepts connections from clients. There are some + worker process those are forked from the main process as well, + which is responsible for detecting streaming replication + delay. There is also a special process called "pcp process", + which is solely used for management + of Pgpool-II + itself. Pgpool-II has a built-in high + availability function called "watchdog". Watchdog consists of + some process. For more details of watchdog, + see . -- 2.39.5