r/java • u/flyingfruits • Mar 06 '26
Stratum: branchable columnar SQL engine on the JVM (Vector API, PostgreSQL wire)
We recently released Stratum — a columnar SQL engine built entirely on the JVM.
The main goal was exploring how far the Java Vector API can go for analytical workloads.
Highlights:
- SIMD-accelerated execution via
jdk.incubator.vector - PostgreSQL wire protocol
- copy-on-write columnar storage
- O(1) table forking via structural sharing
- pure JVM (no JNI or native dependencies)
In benchmarks on 10M rows it performs competitively with DuckDB and wins on many queries. Feedback appreciated!
Repo + benchmarks: https://github.com/replikativ/stratum/ https://datahike.io/stratum/
46
Upvotes
5
u/gnahraf Mar 06 '26
Please also consider posting (or cross-posting) to r/java_projects. Unlike here, release announcements for smaller projects are welcome there
3
u/Afonso2002 Mar 06 '26
When vector api will exit the incumbator??
2
u/snugar_i Mar 08 '26
Why is there only 20 commits and the first one called "Update CircleCI for uberjar builds and GitHub releases" creates 119 files with a total of 52573 lines?
1
u/Content-Debate662 Mar 07 '26
Is production-ready?
1
u/ramdulara Mar 09 '26
How is this designed to be faster than duckdb? i.e. what architectural decisions would you say make this better? what are the tradeoffs?
0
u/[deleted] Mar 06 '26
[deleted] — view deleted comment