You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/concepts-pgbouncer.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,21 +66,21 @@ Azure Database for PostgreSQL - Flexible Server now provides six new metrics for
66
66
|**Total pooled connections** (Preview) |total_pooled_connections |Count|Current number of pooled connections |DatabaseName|No |
67
67
|**Number of connection pools** (Preview)|num_pools |Count|Total number of connection pools |DatabaseName|No |
68
68
69
-
To learn more, see [pgbouncer metrics](./concepts-monitoring.md#pgbouncer-metrics)
69
+
To learn more, see [pgbouncer metrics](./concepts-monitoring.md#pgbouncer-metrics).
70
70
71
71
### Admin Console
72
72
73
73
PgBouncer also provides an **internal** database that you can connect to called `pgbouncer`. Once connected to the database you can execute `SHOW` commands that provide information on the current state of pgbouncer.
74
74
75
75
Steps to connect to `pgbouncer` database
76
76
1. Set `pgBouncer.stats_users` parameter to the name of an existing user (ex. "myUser"), and apply the changes.
77
-
1. Connect to `pgbouncer` database as this user and port as `6432`
77
+
1. Connect to `pgbouncer` database as this user and port as `6432`.
2. Test your application in a QA environment against PgBouncer, to make sure you don’t have any compatibility problems. The PgBouncer project provides a compatibility matrix, and we recommend using **transaction pooling** for most users: https://www.PgBouncer.org/features.html#sql-feature-map-for-pooling-modes.
99
101
3. Change your production application to connect to port **6432** instead of **5432**, and monitor for any application side errors that may point to any compatibility issues.
0 commit comments