# OpenClaw — OpenClaw can now run on Postgres, should you make the switch?

- Company: OpenClaw (openclaw.ai)
- Announced: 2026-12-03
- Category: capability-change
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://openclaw.ai/blog/openclaw-runs-on-postgres/
- Record: https://forck.live/items/43884-openclaw-can-now-run-on-postgres-should-you-make-the-switch
- Subject: OpenClaw

OpenClaw v2026.11.5 lets a Gateway run on PostgreSQL instead of SQLite, aimed at teams running Gateways in replaceable containers or inside companies that already run a managed Postgres cluster. PostgreSQL is generally slower than SQLite for local database operations, since it adds communication with a separate database server, often over a network; the reason to use it is keeping data on infrastructure managed independently of the Gateway. SQLite stays the default for a laptop or a single machine with a disk you trust. The work grew out of a July cleanup that replaced loose JSONL session transcripts with a single SQLite storage layer, deleting about 9,400 lines of file repair, rotation and locking code and leaving one schema and transaction model. OpenClaw keeps the SQLite schema as the source of truth and generates the PostgreSQL schema from it, flagging anything that does not translate cleanly. Storage is split into five families — state, agent, workboard, logbook and team-reports — and each can pick its own engine, so shared state can go on PostgreSQL while individual agent stores stay on SQLite. The macOS app is still experimental on PostgreSQL, and iOS and iPad are not supported yet.

## Evidence

Verbatim from https://openclaw.ai/blog/openclaw-runs-on-postgres/:

> OpenClaw v2026.11.5 is the first release where your Gateway can run on PostgreSQL instead of SQLite.
> 
> PostgreSQL will generally be slower than SQLite for local database operations. SQLite reads and writes files directly on the Gateway’s machine; PostgreSQL adds communication with a separate database server, often over a network. The reason to use it is to keep your data on infrastructure you can manage independently of the Gateway. SQLite remains the default for a laptop or a single machine with a disk you trust.
> 
> So why did we spend the fall introducing a famously local-first lobster to the world’s favorite enterprise elephant?
> 
> The short answer is that plenty of people are no longer running OpenClaw on a single machine under their desk. They are running Gateways inside containers that get torn down and redeployed, or inside companies that already have a database team, a managed Postgres cluster, and very strong opinions about where production state is allowed to live. This release is for them.
> 
> How we got here
> 
> This wasn’t originally a PostgreSQL project. It started back in July as a cleanup of how OpenClaw handled transcripts.

---

Record: https://forck.live/items/43884-openclaw-can-now-run-on-postgres-should-you-make-the-switch
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
