Creating checkpoints by gaslighting a Postgres database
The future of databases is being rewritten by AI agents—80% of new databases are now created autonomously, often through 'fan out' strategies where dozens of agents spin up isolated Postgres instances to solve problems in parallel. But this creates a massive infrastructure headache: databases pile up, costs spiral, and cleanup is ignored because it costs extra tokens. Brian Clark, director of product at Databricks' Lakehouse team, reveals how their solution—Lakebase—uses a 'gaslighting' file system trick to make Postgres believe it's writing to a real disk while actually routing all writes to a virtual, shared storage layer. This enables instant branching with copy-on-write pointers, zero data duplication, and near-instant compute startup (under 500ms). The result? Thousands of ephemeral databases can be spun up and torn down in seconds, with no performance penalty. But the real breakthrough isn't speed—it's control: by decoupling compute from storage and centralizing access through Databricks' Unity Catalog, Lakebase eliminates the security nightmare of shared passwords and uncontrolled data access. It turns Postgres from a data silo into a temporary staging area, with the true source of truth living in a secure, governed lakehouse. This isn't just about developer speed—it's about making AI agents safe, accountable, and compliant.
AI agents now create 80% of new databases, often spinning up isolated Postgres instances in fan-out strategies that lead to massive infrastructure sprawl.
Lakebase uses a 'copy-on-write' file system trick to create instant, zero-cost database branches by pointing to the original data instead of copying it.
Postgres is 'gaslighted' into thinking it's writing to a real file system, but all writes are actually streamed to a secure, centralized storage layer (S3) via a 'wall' mechanism.
Compute startup time is under 500ms because Postgres doesn't need to initialize data or rebuild its catalog—only the branch's changes are loaded.
Branches are always checkpoints: they’re frozen snapshots of the parent at the time of creation, preventing data inconsistency when the primary is updated.
…and 3 more takeaways available in PodZeus
The AI Database Boom: 80% of Databases Created by Agents
“80% of databases are created by AI agents. That's not a typo. It's just how much better AI has gotten at using software.”
The Teenager Problem: Agents Don’t Clean Up After Themselves
AI agents are like digital teenagers—they don’t clean up after themselves. Because cleanup costs extra tokens and time, they’re ignored. This leads to thousands of orphaned databases, bloated costs, and wasted resources.
The Solution: Instant Branching with Copy-on-Write
“We don't actually copy any files. We just say, okay, I'm going to create pointers to the original files.”
Gaslighting Postgres: The Illusion of a Real File System
“My dumb brain is like, oh, you're gaslighting a Postgres database, right? Yeah, we are. The poor thing thinks it's like doing its same job.”
From Data Silos to Lakehouse: The Source of Truth Shifts
Lakebase redefines the database as a temporary staging area. The true source of truth is now the governed lakehouse (Delta/Parquet), with Postgres acting as a transient, ephemeral interface for developers and agents.
“I mean, my dumb brain is like, oh, you're gaslighting a Postgres. database, right? Yeah, we are. The poor thing thinks it's like doing its same job.”
“You want to make sure those HR folks aren't vibe coding themselves into a GDPR breach. Exactly.”
“instead of actually copying any files... it just says, okay, I'm going to create pointers to the original files.”
Host
Guest
PostgreSQL
product
Brian Clark
person
Lakebase
product
Databricks
organization
Neon
product
S3
product
Unity Catalog
product
GitHub
organization
Mozilla
organization
Red Hat
organization
The Dynamic Duo? | Scaling Postgres 419
15m • 5/31/2026
Nikesh Arora: Mythos is Real, Analytical SaaS is Dead, and Google can be a $10T company
31m • 6/8/2026
Fixing the Decision Speed Gap in Modern Supply Chains - with Joris Wijpkema of Optilogic
27m • 6/15/2026
The Snare: Peacekeeper
31m • 6/17/2026
What it takes to be a player in the international AI game
26m • 6/2/2026
When the cost of code approaches zero, what does engineering leadership look like?
33m • 6/10/2026
Developers are emotionally attached to their tools
34m • 6/12/2026
If context is king, architecture is the castle
26m • 6/16/2026
Start discovering podcast insights today
Start with a 7-day trial and explore a growing catalog of popular podcasts. No credit card required.
No credit card required • 7-day trial • Cancel anytime

