~/talk

Do it in SQL: pgbouncer_wrapper

Talkat PGConf NYC 2021 · 2021-12-02..12-03· [databases]
links:none on file
slides:none on file

pgbouncer_wrapper lets you control pgbouncer with SQL by exposing one view per SHOW command and one function per control command, running as a lightweight Postgres instance that talks to the pgbouncer console. You can pause/resume pools, set default_pool_size 300, and run SELECTs like clients grouped by addr. It logs actions, handles injection carefully, reports bugs mostly when pgbouncer adds columns, lacks cross-command locking, and is proven in production to have rescued SLOs — distribution via pgbouncer_wrapper on PGXN is considered.

AI-written summary · about

  1. 0:00Start
  2. 8:04Monitoring and Control Systems
  3. 12:08Typical User Experience
  4. 27:14Issue a Pause Command
  5. 40:46Feedback Forms
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.