Repository navigation
Conversation
The three files had the same tables, fill and queries and differed only in the insert block size (file-level max_block_size = min_insert_block_size_rows = 1 / 100 / 1000), the row counts, and async_insert = 0 in s and m (not l). perf.py settings are file-level, which is why there were three files. The block sizes, and async_insert = 0 for the six s and m queries, move into each INSERT's SETTINGS, so every insert keeps its settings and insert route; the l queries keep the default async_insert route, as before. A `size` substitution gives each size its own hits_wide_*, hits_compact_* and hits_buffer_* tables, so each insert sees the same table history as when the sizes were separate tests. max_insert_threads = 1 stays file-level. iceberg_skip_list.txt lists the new file instead of the three old ones. Local A/A, CI amd release binary of 86abc2f, two servers on CPUs 0-7, 6 repetitions of the old files, the new file, the new file with l0 run last and the old l file with l0 run last: - every insert of every variant: the same InsertedWideParts, InsertedCompactParts, FileOpen and written_rows (e.g. s0 50/0/23750/50, l2 100/0/47500/100000), the same Settings[...] and the same synchronous insert reason as the old files, no delayed inserts; - per query median time new/old, geomean of 6 reps: 1.018 .. 1.078; perf.py stat_threshold, median of 6 reps: new 0.044 .. 0.090, old 0.026 .. 0.062; - l0 run last, new vs old: geomean 1.049, stat_threshold 0.096 vs 0.043. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 2 findings) plus my own review (1 nit).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-11:20261105-091400 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20261104-191400 |
|
cc @Algunenano, could you review this and add the |
|
we have only test and query number for historical results, if we start deleting tests, all query numbers will change and all history we have will be thrown into trash i don’t like that, @groeneai , this is a solution made in a hurry that will break more than it will improve i think that we need a way to mark queries disabled,stale so they don't run and only append new queries or create new tests and never change or delete |
|
Understood. This PR renumbers no query in a surviving test: the 9 queries move to the new test name |
|
Workflow [PR], commit [d4a86f2] Summary: ✅
AI ReviewSummaryPR #129457 consolidates the three Missing context / blind spots
Final Verdict✅ Approve. No new inline findings. |
|
@egor-click With the |
|
closing it then, skip is the better approach for now, we can revisit when i can build better unique identifiers |
Related: #129258
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Item 3 of #129258:
polymorphic_parts_s,_mand_lhad the same tables, fill and queries. They differed only in the insert block size (max_block_size=min_insert_block_size_rows= 1 / 100 / 1000, file-level settings), the row counts, andasync_insert = 0, which #111663 set for s and m but not l. They are now one file,polymorphic_parts, with the same nine queries.The block sizes move into each
INSERT'sSETTINGS, together withasync_insert = 0for the six s and m queries, so every insert keeps its settings and insert route (l keeps the default route). Asizesubstitution gives each size its ownhits_wide_*,hits_compact_*andhits_buffer_*tables, so each insert sees the same table history as before.iceberg_skip_list.txtlists the new file instead of the three old ones, so this PR also runs the Iceberg performance jobs (not required).Validation: a local A/A run of the CI amd release binary (two servers on the same 8 CPUs, 6 repetitions of old and new files) gave the same parts, files, rows, settings and synchronous-insert reason for every insert. The merged file is a little slower and noisier: per query, the median time was 2-8% above the old files (geomean of 6 reps), and perf.py's stat threshold (median of 6 reps) was 0.04-0.06 vs 0.03-0.06 for eight queries and 0.09 vs 0.05 for l0 (0.10 vs 0.04 with l0 run last).
The perf history is keyed by test name, so the merged test is judged at the default floors (0.15 / 0.25) until it has a week of master runs. The saving is small, about 1.5 s per arch and commit: most of the unmeasured time is the teardown
DROP(92-102 s for the three per arch), which scales with the parts written.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/129457]