PgBouncer
Database proxypgbouncer
Lightweight PostgreSQL connection pooler.
- Provider
- default
- Kind
- Database proxy
- Category
- Data
- Official docs
- https://www.pgbouncer.org/config.html
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| defaultPoolSize | integer | — | no | 20 | inherited |
| hedging | boolean | — | no | false | inherited |
| loadShedding | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | inherited |
| maxClientConn | integer | — | no | 100 | inherited |
| poolMode | enum | session | transaction | statement | no | session | inherited |
| poolSharded | boolean | — | no | false | inherited |
| pooling | boolean | — | no | true | ▸ true |
| requestCoalescing | boolean | — | no | false | inherited |
| routing | enum | none | shard-key | lookup | no | none | ▸ none |
| scatterGather | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "pgbouncer", component: "pgbouncer" }Amazon RDS Proxyrds-proxyCloudflare Hyperdrivecloudflare-hyperdriveGeneric database proxydatabase-proxyMariaDB MaxScalemaxscalemongosmongosOdysseyodysseyPgCatpgcatPgpool-IIpgpoolProxySQLproxysqlSupavisorsupavisorVitessvitessCloud SQL Auth Proxygoogle-cloud-sql-auth-proxyIBM Data Virtualizationibm-data-virtualization
# yaml-language-server: $schema=../../schema/component.schema.json # PgBouncer: lightweight PostgreSQL connection pooler; session pooling by default, no routing. schemaVersion: "1" type: "component" id: "pgbouncer" kind: "database-proxy" provider: "default" docs: "https://www.pgbouncer.org/config.html" defaults: pooling: true routing: "none" properties: poolMode: type: "enum" values: ["session", "transaction", "statement"] default: "session" maxClientConn: type: "integer" default: 100 defaultPoolSize: type: "integer" default: 20