Kerf
maintenanceby Kevin Lawler (Kerf Software) · since 2015 · also known as Kerf1, Kerf2, Kerf Software
Columnar tick database and array language from Kona's author, with JSON and SQL syntax; open-sourced in 2022.
maintenance. Commercial product open-sourced (BSD-2-Clause) in 2022; occasional maintenance commits since, and the Kerf2 rewrite is unfinished.
Overview
Kerf is a K/q-style system for financial time series: an interpreted array language and a columnar tick database in one small C binary, built by Kevin Lawler (author of the Kona K implementation) and first sold commercially by Kerf Software around 2015. Unlike kdb+, it uses JSON literals for data and accepts SQL-like select statements, which makes it gentler for people who do not read K. Tables can live in memory or be memory-mapped to disk for transactional writes, and it targets trading platforms, feed handlers, log processing and real-time analytics. The complete Kerf1 was released under BSD-2-Clause in 2022; Kerf2, a concurrent C++ rewrite, is public but explicitly incomplete. Commits are occasional.
Strengths & trade-offs
Strengths
- +Vector language plus columnar tick store in one small binary
- +JSON data literals and SQL-style selects lower the barrier versus kdb+/q
- +Memory-mapped on-disk tables with transactional writes
- +Permissive BSD license since 2022
Trade-offs
- −Essentially a one-person project with sporadic maintenance
- −Kerf2 rewrite is incomplete; Kerf1 lacks multi-core concurrency
- −Tiny ecosystem and few production references
Great for
- +Experimenting with array-language time-series analytics
- +Tick-data research without a kdb+ license
- +Log-file and CSV crunching from a REPL
Think twice for
- −Teams needing a supported, multi-node time-series platform
- −General OLTP applications
Capabilities
Native or official first-party support · 6 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Limited ACID
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- In memory, Single node, Client server
- Query languages
- Kerf language, SQL-like select
Single process; memory-mapped tables can exceed RAM up to the virtual address limit.
Deployment
Ecosystem
Alternatives to Kerf
Column-store time-series engine with the q language, a fixture of capital-markets tick data.
kerf vs kdb-plus →Columnar time-series SQL database built for market data and very high ingest rates.
kerf vs questdb →Distributed time-series database and scripting platform for quant finance and industrial analytics.
kerf vs dolphindb →Open-source columnar OLAP database known for very fast aggregations over billions of rows.
kerf vs clickhouse →In-process columnar SQL database: the SQLite of analytics, running inside your app or notebook.
kerf vs duckdb →PostgreSQL extension adding hypertables, columnar compression and continuous aggregates for time series.
kerf vs timescaledb →Kerf FAQ
What is Kerf?
Kerf is a time-series database by Kevin Lawler (Kerf Software), first released in 2015. Kerf is a K/q-style system for financial time series: an interpreted array language and a columnar tick database in one small C binary, built by Kevin Lawler (author of the Kona K implementation) and first sold commercially by Kerf Software around 2015. Unlike kdb+, it uses JSON literals for data and accepts SQL-like select statements, which makes it gentler for people who do not read K. Tables can live in memory or be memory-mapped to disk for transactional writes, and it targets trading platforms, feed handlers, log processing and real-time analytics. The complete Kerf1 was released under BSD-2-Clause in 2022; Kerf2, a concurrent C++ rewrite, is public but explicitly incomplete. Commits are occasional.
Is Kerf open source?
Yes. Kerf is open source. License: BSD 2-Clause License.
Does Kerf support ACID transactions?
Partly. Kerf offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does Kerf scale horizontally?
Kerf does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB).
How can I run Kerf?
You can self-host it.
What is Kerf best for?
Kerf is a strong fit for experimenting with array-language time-series analytics; tick-data research without a kdb+ license; and log-file and CSV crunching from a REPL. Think twice for teams needing a supported, multi-node time-series platform.
What are the best alternatives to Kerf?
Common alternatives to Kerf include kdb+, QuestDB, DolphinDB, ClickHouse and DuckDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Kerf still maintained?
Kerf is in maintenance mode. Commercial product open-sourced (BSD-2-Clause) in 2022; occasional maintenance commits since, and the Kerf2 rewrite is unfinished.
How popular is Kerf?
Kerf ranks #562 of 844 databases on the WhichDB Score (1.3/100), and #36 among time-series databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

