|
2 | 2 | author: varun-dhawan |
3 | 3 | ms.author: varundhawan |
4 | 4 | ms.reviewer: maghan |
5 | | -ms.date: 02/03/2026 |
| 5 | +ms.date: 04/01/2026 |
6 | 6 | ms.service: azure-database-postgresql |
7 | 7 | ms.topic: include |
| 8 | +ms.custom: automatically generated |
8 | 9 | --- |
9 | | - |
10 | 10 | | Parameter name | Description | Default | |
11 | 11 | | --- | --- | --- | |
12 | | -| `pgbouncer.default_pool_size` | Set this parameter value to the number of connections per user and database pair. | 50 | |
| 12 | +| `pgbouncer.default_pool_size` | Set this parameter value to the number of connections per user/database pair. | 50 | |
13 | 13 | | `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`. | | |
14 | | -| `pgbouncer.max_client_conn` | Set this parameter value to the maximum number of client connections to PgBouncer that you want to support. The default is 5,000, with an allowable range from 1 to 50,000. | 5000 | |
15 | | -| `pgbouncer.max_prepared_statements` | When this value is nonzero, PgBouncer tracks protocol-level named prepared statements related commands that the client sends in transaction and statement pooling mode. | 0 | |
16 | | -| `pgbouncer.min_pool_size` | Add more server connections to the pool if the number of connections falls below this value. | 0 | |
| 14 | +| `pgbouncer.max_client_conn` | Set this parameter value to the highest number of client connections to PgBouncer that you want to support. | 5000 | |
| 15 | +| `pgbouncer.max_prepared_statements` | When this is set to a non-zero value, PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling mode. | 0 | |
| 16 | +| `pgbouncer.min_pool_size` | Add more server connections to pool if below this number. | 0 | |
17 | 17 | | `pgbouncer.pool_mode` | Set this parameter value to TRANSACTION for transaction pooling (which is the recommended setting for most workloads). | transaction | |
18 | | -| `pgbouncer.query_wait_timeout` | 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. | 120 | |
19 | | -| `pgbouncer.server_idle_timeout` | If a server connection is idle for more than this many seconds, PgBouncer drops the connection. If 0, the timeout is disabled. | 600 | |
| 18 | +| `pgbouncer.query_wait_timeout` | Maximum time (in seconds) queries are allowed to spend waiting for execution. If the query isn't assigned to a server during that time, the client is disconnected. | 120 | |
| 19 | +| `pgbouncer.server_idle_timeout` | If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. | 600 | |
20 | 20 | | `pgbouncer.stats_users` | Comma-separated list of database users that are allowed to connect and run read-only queries on the pgBouncer console. | | |
0 commit comments