Quickly implement DB branching in any @PostgreSQL database by installing DBLab SE into your AWS, GCP, Digital Ocean, or Hetzner Cloud account in just a few clicks. Includes lots of extensions, monitoring features, and vendor support: https://t.co/JXIT8aX3iM
Working on this is a lot of fun. Here I shared how it all started, what original PgQ already has and what didn't, and what v0.2 brings (RC1 stamped yesterday)
Precise (not sampled) wait even analysis is something I didn't expect to have for Postgres - but here we go
Being able to zoom into concrete millisecond (!) and see the exact chain of wait events opens new possibilities for RCA, benchmarks, and performance studies
links π
New episode: "pg_wait_tracer"
Nik and Michael are joined by Dmitry Fomin to discuss his new tool pg_wait_tracer, as well as changes to core that would allow wait event tracing with lower overhead (and on managed services).
π§ https://t.co/oEgydSWt1X
πΊ https://t.co/hN7nd5zIjh
Stop giving your AI agents access to your production database.
Here is the setup that fixes it.
I was using @neondatabase for disposable Postgres environments. Great DX, branching, one-click resets. Then traffic grew, costs followed, and even dev environments got expensive.
Paying for a production-grade managed service just to run experiments started to feel hard to justify.
So I went looking for an open source alternative and found @Database_Lab.
It takes any Postgres database and lets you spin up isolated clones, branches, and snapshots from it. Reset to any point with one click. Rerun migrations. Break things freely. Zero risk to anything real.
The detail that matters most: data flows one direction only. From Postgres into Database Lab, never the other way. Your source database stays completely untouchable.
AI agents are getting broader infrastructure access every week. Giving them a safe, isolated clone instead of production access is basic risk management at this point.
π DBLab Engine 4.1 is out!
- Protection leases: time-limited clone protection
- Improved ARM64/Colima support
- Prometheus exporte
- RDS/Aurora logical refresh (so primary's health is not affected at all)
- Teleport support in SE/EE
and lots of other improvements and fixes
For fun, I rewrote psql in Rust
and integrated it with AI
meet "rpg" -- an experimental CLI
maybe, at some point, it will bring ideas to psql itself
thoughts?
link in the 1st comment
pg_ash v1.3 released -- Active Session History for Postgres, pure SQL.
New in 1.3:
- pg_cron now optional -- works with external schedulers
- set_debug_logging() -- RAISE LOG per sampled session
- pgss-dependent functions fail fast with clear errors
- Azure Flexible Server compatibility
- PG14-18 tested
Install: \i sql/ash-install.sql
No extensions, no restart. Works on RDS, Cloud SQL, AlloyDB, Supabase, etc.
Planned: Rotating application secrets as part of SOC2 compliance (DCF-779). Brief service interruptions (\~30s per service) during rolling restarts. Users may need to re-login after JWT secret rotation. No data loss expec https://t.co/URqw7NeFsZ