Pgpool2 페이지의 소스 보기
마지막으로 [b]
-- Loading page list... --
내용출력
로그인[l]
Diary
[f]
최근변경내역
[r]
페이지목록[i]
횡설수설[2]
게시판[3]
링크
수정할 수 없습니다: Pgpool2 는 읽기 전용 페이지입니다.
== # 설정 == 참고: * [http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html Connections and Authentication] * [https://pgpool.net/mediawiki/index.php/FAQ FAQ - pgpool Wiki] * [https://www.pgpool.net/mediawiki/index.php/Relationship_between_max_pool,_num_init_children,_and_max_connections Relationship between max pool, num init children, and max connections - pgpool Wiki]
num_init_children
* 1이면 한번에 한 커넥션만 가능. psql 내에서
\c 다른DB
로 전환하려고 해도 새 연결을 먼저 만들어야 하기 때문에 아예 수행이 안 됨 * pgpool 프로세스의 자식 중에
pgpool: wait for connection request
라는 이름으로 존재
max_pool
* 각 자식 프로세스 내에서 캐시로 저장하는 백엔드 커넥션의 개수 PostgreSQL의 설정과 맞물려서, 다음을 만족하게 설정하라고 함 {{{ max_pool*num_init_children <= (max_connections - superuser_reserved_connections) (no query canceling needed) max_pool*num_init_children*2 <= (max_connections - superuser_reserved_connections) (query canceling needed) }}}
---- [[컴퓨터분류]]
Pgpool2
페이지로 돌아가기 |
다른 수정본 보기