
PostgreSQL support has arrived in OpenClaw v2026.11.5, giving operators the option to run Gateway data on a separate database server. SQLite remains the default for local installations.
The change is aimed at Gateways running inside containers that are regularly replaced, and organisations that already manage production data through an existing PostgreSQL cluster. According to the OpenClaw blog post, PostgreSQL will generally be slower than SQLite for local database operations because it adds communication with another server, often over a network.
How OpenClaw PostgreSQL Support Changes Storage
SQLite reads and writes files directly on the Gateway machine. PostgreSQL moves that data onto infrastructure managed separately from the Gateway itself.
| Backend | Where data lives | Intended setup | Local performance |
|---|---|---|---|
| SQLite | On the Gateway machine | Laptop or single machine with a trusted disk | Faster local reads and writes |
| PostgreSQL | On a separate database server | Containers or existing managed database infrastructure | Generally slower due to server communication |
This means a container can be torn down and redeployed without making its local disk the permanent home for Gateway state. Companies with database teams and rules about where production state may live can also place OpenClaw data inside their existing database infrastructure.
The PostgreSQL schema is generated from the SQLite schema. This is designed to stop the two database backends drifting apart as OpenClaw changes.
The Storage Work Started With Transcripts
PostgreSQL support follows an earlier rebuild of OpenClaw’s transcript storage. Session transcripts previously lived as separate JSONL files on disk. Compaction involved rewriting large files, concurrent processes needed a custom lock controller, and damaged files required repair code.
In July, OpenClaw replaced that system with a single SQLite storage layer. The change removed about 9,400 lines of file repair, rotation and locking code. It also gave every Gateway store one owner, one schema and one transaction model, creating the base needed to add another database backend without rewriting the whole storage system.
SQLite remains the default and is still the stated choice for a laptop or single machine with a disk you trust. PostgreSQL is available when the database needs to outlive, or be managed independently from, the Gateway machine.
Frequently asked questions
What is OpenClaw PostgreSQL support? It is a database backend added in v2026.11.5 for storing Gateway data on a PostgreSQL server instead of the local SQLite database. SQLite remains the default backend.
How does PostgreSQL compare with SQLite in OpenClaw? SQLite stores data directly on the Gateway machine and is generally faster for local operations. PostgreSQL communicates with a separate database server, making it suitable for containerised deployments and organisations with existing database infrastructure.
When is PostgreSQL support available? PostgreSQL support is included in OpenClaw v2026.11.5. The post does not list any plan or pricing requirements.
Sources
3 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.





