Updated on 2025-09-09 GMT+08:00

Read/Write Splitting with Pgpool

Function

Pgpool is a middleware designed for PostgreSQL. It is deployed between database servers and clients and transfers messages between the frontend and backend. Pgpool is transparent to servers and clients. It provides features such as connection pooling, replication, load balancing, and connection limiting to improve the performance, availability, and scalability of database clusters.

This topic describes how to use pgpool to implement read/write splitting for RDS for PostgreSQL DB instances and read replicas.

Prerequisites

Procedure

FAQ