Repository navigation
Run the text_index_postprocessor_filter performance inserts on 500k rows - #131857
Conversation
All four entries of tests/performance/text_index_postprocessor_filter.xml
take 1.07-1.27 s on MasterCI (amd, arm 1.01-1.19 s). Each INSERT reads 3M
rows and writes three ~1M-row parts in parallel, so a run takes about one
part's text index build and write; half the rows would still write a
~1M-row part.
No existing query number or text changes: 2 queries (4 entries with the
substitution) are disabled and 2 copies (4 entries) appended as 4-7. The
copies read the first 500k of the same rows (the source fill is renamed
to tab_src_500k_{drop_pct}, read only by the copies) and write one part
of 500k rows into the same target tables.
Local A/B on official builds, two repetitions on different NUMA nodes,
L3 capped to one way (decide.py v2: every gate passes in both):
- per-row index and compression time of a copy 0.986-1.009 of its
original, bytes per row 1.000, index share of the part write +-0.002;
- local time ratio copy/original 0.421-0.462 -> projected CI medians
0.45-0.58 s amd, 0.42-0.54 s arm;
- on the MasterCI builds before and after ClickHouse#111690 (608eeb8 -> 04971e1,
CI measured 1.28-1.40x on amd), the copies keep 0.77-1.05 of the
original's speedup, both seat orders.
Saving: about 25 s of query time per master perf job on each
architecture; the setup fills 1.5M instead of 9M rows.
Related: ClickHouse#129258
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; 1 finding), plus my own review (0 findings).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261115-183800 |
|
cc @egor-click, could you review this? Run the four text_index_postprocessor_filter perf INSERTs on 500k rows instead of 3M (2 queries disabled, 2 copies appended as entries 4-7) |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-4:20261115-182800 |
|
Workflow [PR], commit [3820937] Summary: ✅
AI ReviewSummaryPR #131857 replaces four 3M-row text-index performance entries with 500k-row copies, preserving the original query texts and numbers as disabled entries. Reviewed head Missing context / blind spots
Final Verdict✅ Approve |
a75c7d7
Related: #129258
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
The four entries of
text_index_postprocessor_filter.xmltake 1.07-1.27 s on MasterCI amd and 1.01-1.19 s on arm. Each INSERT reads 3M rows of 30 words and writes them as three parts of about 1M rows in parallel, so a run takes about as long as one part's text index build and write. Half the rows would still write a part of about 1M rows.No existing query number or text changes: 2 queries (4 entries with the substitution) are disabled and 2 copies (4 entries) appended as 4-7. The copies run the same INSERTs into the same target tables, reading the first 500k of the same rows: the 3M source fill is read only by the disabled queries, so it is renamed and resized in place. Each copy writes one part of 500k rows; locally its per-row index build and compression times are within 1.5% of its original's, with the same bytes per row and the same index share of the part write.
On the MasterCI builds before and after #111690, which CI itself measured at 1.28-1.40x on amd, the copies keep 0.77-1.05 of the original's speedup locally, in both seat orders and in two repetitions on different NUMA nodes, with L3 capped to one way.
The copies should take about 0.4-0.6 s on both architectures: about 25 s less query time per master perf job on each, and the setup fills 1.5M rows instead of 9M. The copies restart the history of 4 entries.
Validation:
perf.pyon the final file runs only entries 4-7, also with CI's--max-queries 10, with no run trend.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/131857]
Version info
26.11.1.2410-master(included in26.11and later)