Skip to content

AvogadroDB: release clickbench-20261125 (fixes the load on the 384 GB machines) - #3622

Open
FELIPE-AVO-DB wants to merge 4 commits into
ClickHouse:mainfrom
FELIPE-AVO-DB:avogadrodb-clickbench-20261125
Open

FELIPE-AVO-DB wants to merge 4 commits into
ClickHouse:mainfrom
FELIPE-AVO-DB:avogadrodb-clickbench-20261125

Conversation

@FELIPE-AVO-DB

Copy link
Copy Markdown
Contributor

Follow-up to #3574. Thank you for running the entry on all the AMD machines.

The two 384 GB runs (c6a.metal and c7a.metal-48xl) failed in the load with "Offset overflow error". The cause was on our side: the loader sized partitions from the machine's RAM and we had not given that size an upper bound, so one partition gathered more than 2 GiB of text in a single column, which Arrow's 32-bit string offsets cannot hold. Release clickbench-20261125 fixes it in two ways: a partition is closed before a variable-length column passes the capacity of its offset type, and the partition size now has an upper bound (the size the memory rule already gives for 32 GiB of RAM).

What changes in avogadrodb/

  • install: the release tag and its sha256.
  • README.md: one sentence in "The clock" that the text of Add AvogadroDB #3574 already said (opening the catalog reads each partition's metadata, and that part is outside the reported query time).

What should not change

On the machines where the load already worked (2 to 32 GiB) the partition boundaries are the same and the column files are the same bytes as with the previous release, so the data size of each machine should repeat to within the load timestamp stored in the metadata (a few dozen bytes).

What we could not measure

We have no machine of that size: the load there, and the 43 queries on 192 cores, will run for the first time in your run. What we expect, from a load of the full file on our hardware under the memory budget of a 384 GiB machine: 47 partitions and a data size of 6,372,708,804 bytes. The scan reads one stream per partition, so on 192 cores it runs 47 streams for this table.

A request

The default machine for a pull request is c6a.4xlarge, where nothing changes. Could you add the machine:c6a.metal and machine:c7a.metal-48xl labels (or machine:all-amd, as in #3574), so that the fix is measured where it matters?

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

… machines)

The c6a.metal and c7a.metal-48xl runs of ClickHouse#3574 stopped in the load with
"Offset overflow error": the loader sized partitions from RAM and we had
not given that size an upper bound, so one partition gathered more than
2 GiB of text in a single column (Arrow's 32-bit string offsets). The
loader now closes a partition before a variable-length column passes the
capacity of its offset type, and the partition size has an upper bound
(the size the memory rule gives for 32 GiB of RAM).

`install` changes (the release tag and its sha256), and the README says
in "The clock" what the text of ClickHouse#3574 already said about the catalog. On
the machines where the load already worked the partition boundaries are
the same and the column files are the same bytes as with the previous
release.

Conceived by Felipe Mendes Batista, with the assistance of Claude Code.
@FELIPE-AVO-DB FELIPE-AVO-DB mentioned this pull request Nov 26, 2026
@alexey-milovidov alexey-milovidov added the machine:all-amd PR benchmark on every AMD x86 machine type label Nov 26, 2026
@alexey-milovidov
alexey-milovidov deployed to benchmark-approval November 26, 2026 14:34 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.4xlarge, c6a.metal, c7a.metal-48xl.
The result files are committed as 55d3658.
Preview of the benchmark page with these results · Comparison with the previous results

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.2xlarge.
The result files are committed as f4f6276.
Preview of the benchmark page with these results · Comparison with the previous results

Logs:

@github-actions

Copy link
Copy Markdown
Contributor

Results for avogadrodb are ready for: c6a.xlarge.
The result files are committed as e96f30a.
Preview of the benchmark page with these results · Comparison with the previous results

Logs:

This branch is waiting to be deployed

1 waiting deployment
benchmark-approval — e96f30ae Waiting Nov 26, 2026 by robot-clickhouse via launch #1491
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