Why PostgreSQL's process-per-connection model requires a connection pooler, PgBouncer session vs transaction vs statement pooling modes and their tradeoffs, pgbouncer.ini configuration, monitoring with SHOW commands, and a comparison of PgBouncer, Pgpool-II, and Supavisor.
Connection-Pooling
-
PgBouncer and PostgreSQL Connection Pooling