2 번째 수정본
(2 번째 수정본부터 2 번째 수정본까지의 변경사항)
(소소한 수정)
(두 수정본의 내용이 동일하거나, 수정본을 비교할 수 없음.)
참고:
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)
컴퓨터분류