|
2 | 2 | author: varun-dhawan |
3 | 3 | ms.author: varundhawan |
4 | 4 | ms.reviewer: maghan |
5 | | -ms.date: 04/01/2026 |
| 5 | +ms.date: 04/06/2026 |
6 | 6 | ms.service: azure-database-postgresql |
7 | 7 | ms.topic: include |
8 | 8 | ms.custom: automatically generated |
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/database pair. | 50 | |
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 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 | |
| 12 | +| `pgbouncer.default_pool_size` | How many server connections to allow per user/database pair. | 50 | |
| 13 | +| `pgbouncer.ignore_startup_parameters` | Comma-separated list of parameters that PgBouncer can ignore because they are going to be handled by the admin. | | |
| 14 | +| `pgbouncer.max_client_conn` | Maximum number of client connections allowed. | 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 | 16 | | `pgbouncer.min_pool_size` | Add more server connections to pool if below this number. | 0 | |
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) 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 | |
| 17 | +| `pgbouncer.pool_mode` | Specifies when a server connection can be reused by other clients. | transaction | |
| 18 | +| `pgbouncer.query_wait_timeout` | Maximum time (in seconds) queries are allowed to spend waiting for execution. If the query is not assigned to a server during that time, the client is disconnected. | 120 | |
19 | 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