PgBouncer

Lightweight PostgreSQL connection pooler.

Provider
default
Category
Data
Properties · 2 set by this component
propertytypevaluesrequiredkind defaultthis component
defaultPoolSize · component propertyinteger—no20inherited
hedging · advancedboolean—nofalseinherited
loadShedding · advancedboolean—nofalseinherited
managedboolean—nofalseinherited
maxClientConn · component propertyinteger—no100inherited
poolMode · component propertyenumsession | transaction | statementnosessioninherited
poolSharded · advancedboolean—nofalseinherited
poolingboolean—notrue▸ true
requestCoalescing · advancedboolean—nofalseinherited
routingenumnone | shard-key | lookupnonone▸ none
scatterGather · advancedboolean—nofalseinherited
Rules that apply · 0

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.
Use it in a design
nodes:
  - { id: "pgbouncer", component: "pgbouncer" }
Other Database proxy products · 13
Source
# 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

The same page as markdown, for an agent: /catalogue/components/pgbouncer.md