Skip to content

Add AvogadroDB - #3574

Merged
alexey-milovidov merged 7 commits into
ClickHouse:mainfrom
FELIPE-AVO-DB:avogadrodb
Nov 25, 2026
Merged

alexey-milovidov merged 7 commits into
ClickHouse:mainfrom
FELIPE-AVO-DB:avogadrodb

Conversation

@FELIPE-AVO-DB

@FELIPE-AVO-DB FELIPE-AVO-DB commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds AvogadroDB: an embedded analytical database written in Rust, with its own column format and compression cascade on disk and Apache DataFusion as the query executor over that format. This entry uses its command-line tool: one process per query, nothing resident.

What is in avogadrodb/

  • install fetches one executable from the releases of the repository above and verifies its sha256 before running it; the tag (clickbench-20261027) and the digest are pinned in the script. Nothing is compiled on the machine. The executable is built inside manylinux_2_28 on the x86-64 baseline (glibc >= 2.28, no AVX2 or newer instruction assumed).
  • load builds the table from hits.parquet in the engine's own format at its final compression level, inside the timed window; nothing is re-compacted or pre-computed afterwards.
  • query reads one statement on stdin, writes the whole result as CSV and the time in seconds on the last line of stderr. preludio.sql is prefixed to every statement: the same EventDate type adaptation the datafusion entry makes in its VIEW, written as a CTE because the engine takes no DDL.
  • queries.sql is the datafusion entry's, unchanged.
  • benchmark.sh has the same driver settings as duckdb/ (BENCH_RESTARTABLE=no, BENCH_CONCURRENT_DURATION=0).

What to know before merging

  1. Proprietary, evaluation license. The source is not public. The executable is published under an evaluation license (reproduce this benchmark, evaluate the engine; no redistribution, no production use), and template.json says "proprietary": "yes". Whether ClickBench can run and include it under these terms is a decision for a maintainer.
  2. Category enthusiast, as for any new system, and tuned: no: load and query pass no tuning flag.
  3. x86_64 only. There is no aarch64 asset yet; install refuses other architectures by name.
  4. No result files are included. The entry was run through the shared driver (lib/benchmark-common.sh at 846dd93) on a GitHub-hosted runner with hits_0.parquet in place of the full file: install from the pinned release, load, startup time, the 43 queries x 3 with dropped caches, data size. It has not run on a c6a.4xlarge; those numbers are left to the benchmark automation.
  5. The clock. query reports the time from the catalog being open to the result written and flushed: planning, execution, decompression and output are inside; process start and opening the catalog are outside. Opening the catalog includes reading each partition's metadata (its min/max statistics), so that part is outside the reported query time; the driver's startup time measures it. The entry's README describes the boundary.

Conceived by Felipe Mendes Batista, with the assistance of Claude Code.

AvogadroDB is an embedded analytical database written in Rust: its own
column format and compression cascade on disk, with Apache DataFusion as
the query executor over that format. The entry uses its command-line
tool, one process per query.

The source is not public. The executable is published under an
evaluation license at https://github.com/avogadrodb/avogadrodb-clickbench
and `install` pins the release tag and the sha256 of its asset; nothing
is compiled on the machine.

New system: category `enthusiast`, `tuned: no`, x86_64 only for now.
Driver settings as in duckdb/ (BENCH_RESTARTABLE=no,
BENCH_CONCURRENT_DURATION=0). queries.sql is the datafusion entry's,
unchanged.

Conceived by Felipe Mendes Batista, with the assistance of Claude Code.
@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.4xlarge.
The result files are committed as 14e40f8.
Preview of the benchmark page with these results

Logs:

@alexey-milovidov alexey-milovidov added machine:all PR benchmark on every machine type machine:all-amd PR benchmark on every AMD x86 machine type and removed machine:all PR benchmark on every machine type labels Nov 25, 2026
@alexey-milovidov
alexey-milovidov deployed to benchmark-approval November 25, 2026 01:41 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.4xlarge.
The result files are committed as cc140d5.
Preview of the benchmark page with these results
The run of avogadrodb on c6a.metal did not produce results.
The run of avogadrodb on c7a.metal-48xl did not produce results.

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.2xlarge.
The result files are committed as 14526ae.
Preview of the benchmark page with these results

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.xlarge.
The result files are committed as 3b568ee.
Preview of the benchmark page with these results

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.large.
The result files are committed as f9a211d.
Preview of the benchmark page with these results

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: t3a.small.
The result files are committed as fc3caa9.
Preview of the benchmark page with these results

Logs:

@alexey-milovidov

Copy link
Copy Markdown
Member

Ok, but on large machines it exits with an overflow.

@alexey-milovidov
alexey-milovidov merged commit 76669ad into ClickHouse:main Nov 25, 2026
2 of 3 checks passed
@FELIPE-AVO-DB

Copy link
Copy Markdown
Contributor Author

Thank you for merging, and for the run on the large machines. The overflow was on our side: partitions were sized from RAM with no upper bound. It is fixed in release clickbench-20261125, submitted as #3622. To measure it where it failed, that pull request needs the machine:c6a.metal and machine:c7a.metal-48xl labels (or machine:all-amd).

This branch is waiting to be deployed

1 waiting deployment
benchmark-approval — fc3caa94 Waiting Nov 25, 2026 by robot-clickhouse via launch #1463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

machine:all-amd PR benchmark on every AMD x86 machine type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants