Generated on 25 November 2024
from pydo version v0.6.0
Description
For PostgreSQL database clusters, connection pools can be used to allow a
database to share its idle connections. The popular PostgreSQL connection
pooling utility PgBouncer is used to provide this service. See here for more information
about how and why to use PgBouncer connection pooling including
details about the available transaction modes.
To add a new connection pool to a PostgreSQL database cluster, send a POST
request to /v2/databases/$DATABASE_ID/pools specifying a name for the pool,
the user to connect with, the database to connect to, as well as its desired
size and transaction mode.