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
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,20 @@ PgBouncer in Azure Database for PostgreSQL flexible server supports [Microsoft E
27
27
28
28
To enable PgBouncer, go to the **Server parameters** pane in the Azure portal, search for **PgBouncer**, and change the `pgbouncer.enabled` setting to `true`. There's no need to restart the server.
29
29
30
-
You can configure PgBouncer settings by using these parameters:
30
+
You can configure PgBouncer settings by using these parameters.
31
+
32
+
> [!NOTE]
33
+
> The following list of PgBouncer server parameters is visible on the **Server parameters** pane only if the `pgbouncer.enabled` server parameter is set to `true`. Otherwise, they're deliberately hidden.
31
34
32
35
| Parameter name | Description | Default |
33
36
|----------------------|--------|-------------|
34
37
|`pgbouncer.default_pool_size`| Set this parameter value to the number of connections per user/database pair. |`50`|
35
-
|`pgBouncer.max_client_conn`| Set this parameter value to the highest number of client connections to PgBouncer that you want to support. |`5000`|
36
-
|`pgBouncer.pool_mode`| Set this parameter value to `TRANSACTION` for transaction pooling (which is the recommended setting for most workloads). |`TRANSACTION`|
37
-
|`pgBouncer.min_pool_size`| Add more server connections to the pool if the number is below this minimum. |`0` (disabled) |
38
+
|`pgbouncer.max_client_conn`| Set this parameter value to the highest number of client connections to PgBouncer that you want to support. |`5000`|
39
+
|`pgbouncer.pool_mode`| Set this parameter value to `TRANSACTION` for transaction pooling (which is the recommended setting for most workloads). |`TRANSACTION`|
40
+
|`pgbouncer.min_pool_size`| Add more server connections to the pool if the number is below this minimum. |`0` (disabled) |
38
41
|`pgbouncer.ignore_startup_parameters`| Enter a comma-separated list of parameters that PgBouncer can ignore. For example, you can let PgBouncer ignore the `extra_float_digits` parameter. Some parameters are allowed; all others raise an error. This ability is needed to tolerate overenthusiastic Java Database Connectivity (JDBC) wanting to unconditionally set `extra_float_digits=2` in startup packets. Use this option if the library that you use reports errors such as `pq: unsupported startup parameter: extra_float_digits`. ||
39
42
|`pgbouncer.query_wait_timeout`| Set the maximum time (in seconds) that queries are allowed to spend waiting for execution. If the query isn't assigned to a server during that time, the client is disconnected. |`120s`|
40
-
|`pgBouncer.stats_users`| Optional. Set this parameter value to the name of an existing user, to be able to log in to the special PgBouncer statistics database (named `PgBouncer`). ||
43
+
|`pgbouncer.stats_users`| Optional. Set this parameter value to the name of an existing user, to be able to log in to the special PgBouncer statistics database (named `PgBouncer`). ||
41
44
42
45
For more information about PgBouncer configurations, see the [pgbouncer.ini documentation](https://www.pgbouncer.org/config.html).
0 commit comments