
Pgpool-II
Pgpool-II is free, self-hosted middleware that sits between PostgreSQL servers and database clients, relaying PostgreSQL protocol messages transparently.
What Pgpool-II is
Pgpool-II is free, self-hosted middleware that sits between PostgreSQL servers and database clients, relaying PostgreSQL protocol messages transparently. It reuses server connections with matching properties to reduce connection overhead and improve throughput. For replicated databases, it can distribute SELECT queries across servers. High-availability features include automatic failover, Watchdog, quorum, and split-brain prevention; other capabilities include online recovery, connection limiting, replication, and an in-memory query cache. Pgpool-II is available in binary and source formats, with RPM packages for Red Hat Enterprise Linux and compatible distributions. Debian and Ubuntu users are directed to packages from the PostgreSQL community. Authentication options include trust, clear-text password, MD5, SCRAM-SHA-256, certificate, PAM, and LDAP; GSSAPI is not supported. SSL can protect frontend and backend communications when enabled, but it is off by default and requires OpenSSL support. Community help is available through mailing lists and GitHub Issues, with commercial support offered by SRA OSS K.K.
Good
- Free software with no usage fee.
- Pools PostgreSQL server connections.
- Distributes SELECT queries across replicated servers.
- Includes automatic failover and split-brain prevention.
- Supports several authentication methods, including SCRAM-SHA-256.
Watch out
- GSSAPI authentication is not supported.
- SSL is off by default and requires OpenSSL support.
- Unsupported major releases lack formal binary packages.
- No bug bounty program is offered.
Who it suits
Pgpool-II suits PostgreSQL administrators who need self-hosted connection pooling, query distribution, or failover capabilities. It also fits teams comfortable configuring and maintaining middleware themselves.
Verdict
Pgpool-II provides PostgreSQL middleware functions at no license cost, including pooling, load balancing, and high availability. SSL setup and release support status are important considerations for administrators.
Plans and prices
From Pgpool-II's own pricing page, checked 1 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Pgpool-II | Free | open-source software · self-hosted middleware |
The facts
Each one read from Pgpool-II's own pages, with the date it was checked.
What it does
- Additional features
- Additional features include in-memory query cache, online recovery, connection limiting, Watchdog, and replication.checked 1 Oct 2026
- APT packages
- Users of Debian or Ubuntu are directed to packages provided by the PostgreSQL community.checked 1 Oct 2026
- Authentication
- Supported authentication methods include trust, clear-text password, MD5, SCRAM-SHA-256, certificate, PAM, and LDAP; GSSAPI is not supported.checked 1 Oct 2026
- Automatic failover
- Removes broken backend nodes automaticallychecked 18 Nov 2026
- Connection limits
- Queues excess connections instead of immediately rejecting themchecked 18 Nov 2026
- Connection pooling
- It reuses PostgreSQL server connections with matching properties to reduce connection overhead and improve throughput.checked 1 Oct 2026
- Connection reuse
- Reuses established PostgreSQL connections matching connection propertieschecked 18 Nov 2026
- Distribution
- Open-source software with BSD/MIT-like licensechecked 18 Nov 2026
- Documentation
- Official documentation is available in English and Japanese, with tutorials for basic configuration, Watchdog, AWS, and Aurora.checked 1 Oct 2026
- High availability
- It provides automatic failover, Watchdog for Pgpool-II high availability, quorum, and split-brain prevention.checked 1 Oct 2026
- License
- The license permits use, copying, modification, and distribution of the software and documentation for any purpose without a fee.checked 1 Oct 2026
- Load balancing
- Distributes read queries over multiple PostgreSQL serverschecked 18 Nov 2026
- Overhead reduction
- Reduces connection overhead and improves throughputchecked 18 Nov 2026
- Product type
- Middleware/proxy between PostgreSQL servers and clientschecked 18 Nov 2026
- Purpose
- Pgpool-II is middleware between PostgreSQL servers and database clients that relays PostgreSQL protocol messages transparently.checked 1 Oct 2026
- Query cache
- Provides an in-memory cache for SELECT resultschecked 18 Nov 2026
- Release support
- The project aims to fully support each major release for five years; unsupported releases receive only possible best-effort critical fixes and no formal binary packages.checked 1 Oct 2026
- Security reporting
- The community asks vulnerability reporters to email the project leader privately and does not offer bug bounties.checked 1 Oct 2026
- SSL
- When enabled, SSL protects both frontend and backend communications, but it is off by default and requires OpenSSL support.checked 1 Oct 2026
- Support
- Community support is provided through mailing lists and GitHub Issues, while SRA OSS K.K. offers commercial technical support, consulting, and system integration.checked 1 Oct 2026
- Supported operating systems
- Works on Linux, FreeBSD and most UNIX-like architectures; Windows unsupportedchecked 18 Nov 2026
- Watchdog clustering
- Coordinates multiple Pgpool-II nodes and promotes standbychecked 18 Nov 2026
Alternatives to Pgpool-II
- 1
OceanBase Database
Free planOpen sourceWebAPILinuxmacOS8.2$2.38 usage-based - 2

MySQL
Free planAPILinuxmacOSSelf-hosted7.9Free plan - 3
Avidemux
Free planOpen sourceWebLinuxmacOSWindows7.7Free plan - 4
Supavisor
Free planOpen sourceAPILinuxSelf-hosted7.6From $25 a month - 5
TiCDC
Free planOpen sourceAPILinuxmacOSSelf-hosted7.2Free plan - 6

Amazon RDS
Free planWebAPISelf-hosted7.1Free plan
