Configuring EDB PgBouncer for BigAnimal
EDB PgBouncer is a lightweight connection pooling utility that you can use to more quickly connect to your BigAnimal cluster. It saves you time by pooling previously established connections to your server. Instead of connecting directly to your server, EDB PgBouncer negotiates your connections for you.
Perform these steps to configure EDB PgBouncer with your BigAnimal cluster.
Update the EDB PgBouncer configuration file
To install EDB PgBouncer, see Installing EDB PgBouncer.
Navigate to your BigAnimal cluster connection information:
Open BigAnimal.
Select Clusters > Connect.
Under Connection Info, find your cluster connection information. The following table is an example of connection information:
Information field Value Service URI postgres://p-zdj5rioiy1.brcxzr08qr7rbei1.enterprisedb.network:5432/edb_admin?sslmode=require Dbname edb_admin Host p-zdj5rioiy1.brcxzr08qr7rbei1.enterprisedb.network Port 5432 User edb_admin
Configure EDB PgBouncer according to the connection information:
Update the PgBouncer configuration file
/etc/pgbouncer/pgbouncer.ini
:Add your cluster username and password to the
auth_file
, located in/etc/pgbouncer/
by default. For example:The default username is in the User field in BigAnimal. The password is the same one you set when configuring the cluster.
For more information, see Configuring EDB PgBouncer.
Connect to the BigAnimal cluster
For the next steps, you need psql
or another database client installed. See Connecting to your cluster for more information.
Connect to the remote EDB PgBouncer service according to your cluster connection information with the command:
Enter the password for the database user.
EDB PgBouncer attempts to connect to your BigAnimal cluster.