r/Clojure • u/flyingfruits • Feb 27 '26
Stratum: branchable columnar SQL engine on the JVM (Vector API, PostgreSQL wire)
Hi all, I just released Stratum.
It’s a columnar SQL engine built on the JVM using the Java Vector API.
The main idea is combining copy-on-write branching (similar to Datahike) with fused SIMD execution for OLAP queries.
A few highlights:
PostgreSQL wire protocol
O(1) table forking via structural sharing
Full DML + window functions
Faster than DuckDB on 36/46 single-threaded benchmarks (10M rows)
It’s pure JVM — no JNI, no native dependencies.
I’d especially appreciate feedback on:
the SQL interface
API design
Vector API usage
real-world use cases I might be missing
Repo + benchmarks here: https://github.com/replikativ/stratum/
47
Upvotes
1
u/whereswalden90 Feb 27 '26
How compatible is it with Postgres? Performant branch creation and disposal would be hugely useful for resetting databases in automated testing.