Loading topic
psql, and the purpose of max_connections. This chapter explains the working model of a connection pool and why PgBouncer can reduce database pressure.2 min readpsql client, and the purpose of PostgreSQL's max_connections setting. This chapter builds a working model of what PgBouncer does between an application and PostgreSQL.2 min readpsql, understand PostgreSQL roles and max_connections, and can edit files on a Linux system. PgBouncer reads its main configuration from pgbouncer.ini. The file has sections. The [databases] section defines where PostgreSQL databases are located. The `[pgbo1 min readpsql, and understand PostgreSQL roles, databases, and max_connections. This chapter focuses on how PgBouncer assigns PostgreSQL server connections to clients.2 min readpsql, and how to edit pgbouncer.ini. This chapter focuses on how PgBouncer verifies a client before allowing it into a connection pool.2 min readpsql, familiarity with PostgreSQL roles and max_connections, and a general understanding of client/server applications.2 min readpsql, and understand transaction pooling. This chapter focuses on how prepared statements interact with PgBouncer when clients and PostgreSQL server connections do not stay paired.2 min readmax_connections, the psql client, and basic Linux configuration. The goal is to limit PostgreSQL server connections without preventing applications from accepting client requests.2 min readmax_connections, psql, and the main sections of pgbouncer.ini. This chapter focuses on what happens when all normal server connections are busy.2 min readpsql, and have already configured PgBouncer to listen on 127.0.0.1:6432. The admin console is a special database-like interface for inspecting and controlling PgBouncer. It does not provide access to application tables.2 min readpsql, and understand PostgreSQL roles, databases, and max_connections. This chapter shows how to use PgBouncer's admin console to answer three questions:3 min readpgbouncer.ini, and understand that an application may connect to PgBouncer instead of connecting directly to PostgreSQL.2 min readmax_connections controls. This chapter focuses on deployment choices. It does not make PostgreSQL itself highly available.2 min readpsql, PostgreSQL roles, Linux commands, and the difference between a client connection and a PostgreSQL server connection. Troubleshoot PgBouncer in layers: confirm that the listener is reachable, verify authentication, inspect pool state, and then check PostgreSQL.2 min read