slothdb

An experimental embedded SQL engine in C++20. Query Parquet, CSV, JSON, Arrow, Avro, SQLite, and Excel files directly with SQL, in-process. Early-stage.

What it helps you do

Understand the work it supports.

  • No vendor PR to ClickBench is open or planned while the handler dispatch is still there.
  • Engine work for high-cardinality GROUP BY and parquet decode. Radix-partitioned aggregators for high-cardinality GROUP BY, a bounded hash-table COUNT path, parquet decode improvements (zero-copy VARCHAR, batched RLE unpack), and TopN pushdown into the aggregate. See the Status section above for the context around the previous ClickBench framing.
  • Portable build. The GCC and Clang builds compile cleanly again: the MSVC-only getenvs is replaced with std::getenv, and the vendored snappy source is committed so CI can build it.
  • bench/clickbench/. All 43 ClickBench queries verbatim from the ClickBench repo, plus the runner and a chart generator. python bench/clickbench/officialbench.py reproduces the head-to-head against DuckDB.
  • Nested aggregates work everywhere. ROUND(AVG(x)), AVG(x) + 1, SUM(x) / COUNT(), CAST(SUM(y) AS DOUBLE) and other shapes that wrap an aggregate inside a scalar function or arithmetic used to throw "Function execution for: AVG". The planner now walks the whole expression tree and hoists every aggregate it finds, no matter how deep, so you can write the SELECT list the way you'd write it in DuckDB or Postgres.
  • ORDER BY by aggregate alias works. SELECT region, COUNT() AS cnt FROM ... GROUP BY region ORDER BY cnt DESC used to default the sort to column 0 and silently sort by region. PhysicalOrderBy now precomputes per-row order keys via the expression executor whenever any clause isn't a plain column ref. Both the full-sort and top-N heap paths use the precomputed keys.

Capabilities & data portability

AI capabilities
Not confirmed in published facts
Integrations
Not confirmed
API access
Not confirmed
Import
Not confirmed
Export
Not confirmed
Platforms
Not confirmed
Product languages
Not confirmed
License
identifier: MIT; scope: code; source: https://github.com/SouravRoy-ETL/slothdb/blob/HEAD/LICENSE
Pricing & commitment

Read the conditions.
Then compare the cost.

Check edition, seats, region and billing commitment together. Open-source code does not establish free hosted service.

Published pricing facts

Pricing not confirmed

Pricing model
Pricing not confirmed
Scope
slothdb official project
Free trial
Not confirmed
Billing model
Not confirmed
Trial conditions
Not confirmed
Price visibility
Not confirmed
Billing unit
Not confirmed
Minimum seats
Not confirmed
Region / tax
Not confirmed
  • The repository does not establish a current hosted-service price. Review the official pricing and deployment terms before purchase.
Evidence & verification

Trace the facts to their sources.

Reviewed 2026-12-03. Prices and availability can change.

Your shortlist

Choose 2–3 tools · Stored on this device

Claim this profile · Suggest a correction

Your comparison has three tools.

Choose one to replace, or keep the current selection.

Copy this link