LocustDB
maintenanceby Clemens Winter · since 2017 · also known as Locust DB
Experimental Rust columnar analytics engine built to scan billions of rows per second on one machine.
maintenance. Experimental single-developer project; last release 0.5.6 (Apr 2025) and last main-branch commit July 2025.
Overview
LocustDB is Clemens Winter's experimental analytics database, begun at Dropbox in 2017 and continued as a personal open-source project. It ingests CSV or its own storage format into compressed, partitioned columns and runs a SQL subset (filters, aggregations, group by, order by, LIKE; no joins) through a vectorized, massively parallel query engine; the author's write-ups showed billions of records per second scanned on a single desktop. Data is append-only and can only be deleted or expired in bulk; recent 0.5 versions add durable on-disk storage with a write-ahead log, faster compaction and pcodec float compression. It is a single-developer research system: fast and instructive, but not production infrastructure.
Strengths & trade-offs
Strengths
- +Vectorized, parallel execution that saturates all cores of one machine
- +Aggressive per-column compression (dictionary, delta, lz4, pcodec)
- +Fast ingestion of CSV and append-only data
- +Clean Rust codebase worth reading for query-engine design
Trade-offs
- −Experimental and maintained by one person
- −No joins, updates or transactions; append-only data
- −Sparse documentation and few users
Great for
- +Ad-hoc analytics over large CSV or log datasets on one box
- +Exploring large append-only event or metric tables
- +Learning columnar query-engine techniques
Think twice for
- −Production analytics needing joins or SLAs
- −Transactional workloads
Capabilities
Native or official first-party support · 4 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- None
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- Single node, In memory, Client server
- Query languages
- SQL (subset, no joins)
Single machine; all cores are used per query. Data must fit the partition and memory limits configured.
Deployment
Ecosystem
Alternatives to LocustDB
In-process columnar SQL database: the SQLite of analytics, running inside your app or notebook.
locustdb vs duckdb →Open-source columnar OLAP database known for very fast aggregations over billions of rows.
locustdb vs clickhouse →Extensible Rust query engine library on Apache Arrow for building databases and data systems.
locustdb vs apache-datafusion →Pioneering open-source column-store from CWI, still a lean research-grade analytical SQL database.
locustdb vs monetdb →Embedded, in-process OLAP engine powered by ClickHouse, used mainly from Python.
locustdb vs chdb →Real-time OLAP store from LinkedIn for user-facing analytics at very high query rates.
locustdb vs apache-pinot →LocustDB FAQ
What is LocustDB?
LocustDB is a columnar / OLAP database by Clemens Winter, first released in 2017. LocustDB is Clemens Winter's experimental analytics database, begun at Dropbox in 2017 and continued as a personal open-source project. It ingests CSV or its own storage format into compressed, partitioned columns and runs a SQL subset (filters, aggregations, group by, order by, LIKE; no joins) through a vectorized, massively parallel query engine; the author's write-ups showed billions of records per second scanned on a single desktop. Data is append-only and can only be deleted or expired in bulk; recent 0.5 versions add durable on-disk storage with a write-ahead log, faster compaction and pcodec float compression. It is a single-developer research system: fast and instructive, but not production infrastructure.
Is LocustDB open source?
Yes. LocustDB is open source. License: Apache License 2.0.
Does LocustDB support ACID transactions?
No. LocustDB does not provide ACID transactions; its consistency model is strong.
Does LocustDB scale horizontally?
LocustDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run LocustDB?
You can self-host it and embed it in your application.
What is LocustDB best for?
LocustDB is a strong fit for ad-hoc analytics over large CSV or log datasets on one box, exploring large append-only event or metric tables and learning columnar query-engine techniques. Think twice for production analytics needing joins or SLAs.
What are the best alternatives to LocustDB?
Common alternatives to LocustDB include DuckDB, ClickHouse, Apache DataFusion, MonetDB and chDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is LocustDB still maintained?
LocustDB is in maintenance mode. Experimental single-developer project; last release 0.5.6 (Apr 2025) and last main-branch commit July 2025.
How popular is LocustDB?
LocustDB ranks #494 of 844 databases on the WhichDB Score (2.1/100), and #46 among columnar / OLAP databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.



