← Blog

Agent OLTP needs PostgreSQL 19 on Lakebase, day one

Lakebase shipped PostgreSQL 19 the same day as community GA — REPACK reclaims space while reads/writes continue, query plan advice stabilizes bad plans, WAIT FOR LSN enables read-your-writes on replicas, plus logical-replication upgrades — for agent and app state that already sits under Unity Catalog.

LakehouseData EngineeringAgentic AI

Agent session state and app OLTP still bloat, pick bad plans, and lag replicas — and waiting weeks for a managed major version leaves the lakehouse control plane on yesterday’s Postgres.

Databricks made PostgreSQL 19 available on Lakebase on November 19, 2026, the same day as community GA. Create a new Lakebase project and select PostgreSQL 19. The release targets operational control: REPACK reclaims space (and can cluster via `USING INDEX`) while normal reads and writes continue for most of the operation (`CONCURRENTLY` uses logical decoding, then a brief exclusive lock to swap); query plan advice helps stabilize plans that go wrong; WAIT FOR LSN supports read-your-writes on replicas; logical replication also gains upgrades. Several Lakebase engineers are PostgreSQL committers and contributors on this release. The point for lakehouse teams is not a marketing headline feature — it is day-one access to production maintenance tools for the same serverless Postgres that already shares storage foundations and Unity Catalog with analytical data.

What platform owners should do when standing up new agent or app databases:

  • Prefer new Lakebase projects on PostgreSQL 19 for greenfield session/memory and transactional workloads — do not default to an older major “until managed catches up”
  • Plan REPACK into bloat runbooks instead of ACCESS EXCLUSIVE `VACUUM FULL` windows on hot chat or feature tables
  • Use WAIT FOR LSN patterns when agents write then immediately read from replicas

Agent latency and lakehouse governance both need current Postgres. Lakebase shipping 19 on GA day is how that stack stays one control plane, not a lagging sidecar.