Repository navigation
Add a nightly performance test: TPC-DS SF100 over Iceberg - #131427
Conversation
`iceberg_suite_local_tpcds_sf100.xml` runs the 98 queries of `iceberg_suite_local_tpcds.xml` (SF1) over Iceberg copies of the `tpcds_sf100.xml` tables. The data is loaded from the same `ds/scale_100` files into MergeTree staging tables, copied to `IcebergLocal` tables under `user_files` in primary-key order with one insert stream (about 1M rows per data file, the same files on both servers), and the staging tables are dropped before the queries. `use_datalake_metadata_statistics = 1` lets the Iceberg manifest statistics reach join reordering, which the test exists to measure. The copies are `IcebergLocal` tables under `user_files`, as in `iceberg_suite_local_tpcds.xml`. A dropped table keeps its files; the nightly removes them after every test (`cleanup_user_files` in `ci/jobs/performance_tests.py`). The test is tagged `long` and pinned to `NightlyExtendedPerformance` batch `2/4`. No SF10 variant: the public `ds/scale_10` files are mostly copies of `ds/scale_1`. Related: ClickHouse#123553, ClickHouse#130763 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 rounds, 2 findings) and my own review (2 rounds, 4 findings).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261113-201900 |
|
cc @murphy-4o, could you review this? It adds a long NightlyExtendedPerformance test that runs the 98 TPC-DS queries of iceberg_suite_local_tpcds.xml over IcebergLocal copies of the SF100 dataset with use_datalake_metadata_statistics = 1 (about 3 h of the 4 h per-test budget). |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-7:20261113-190500 |
|
Workflow [PR], commit [42e1064] Summary: ✅
AI ReviewSummaryAdds a nightly TPC-DS SF100 benchmark over 24 Missing context / blind spots
Final VerdictStatus: ✅ Approve. No changes requested. |
f905a40
Related: #123553
Related: #130763
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Requested on #123553: TPC-DS at SF10 and SF100 over Iceberg, like the SF1
iceberg_suite_local_tpcds.xml(#130763).iceberg_suite_local_tpcds_sf100.xmlis alongtest ofNightlyExtendedPerformance, pinned to batch2/4:tpcds_sf100.xmlare loaded from the sameds/scale_100files into MergeTree staging tables (FixedStringasString) and copied toIcebergLocaltables underuser_filesin primary-key order with one insert stream (about 1M rows per data file); the staging tables are dropped before the queries, and the nightly removes the copies after the test;iceberg_suite_local_tpcds.xml, plususe_datalake_metadata_statistics = 1, so the manifest statistics reach join reordering.No SF10: 34 of the 61 files in
ds/scale_10are copies ofds/scale_1(store_saleshas 2,878,334 rows instead of 28,800,991). With a complete upload, SF10 is this file withscale_10and its row counts.Validation: x86
amd_releaseof the base commit, one server on 16 CPUs,perf.py --longwith the nightly flags. All row-count checks pass, 98/98 queries run, peak memory 19.2 GiB,teardown-complete. Setup took 8.6 min and the queries 52.7 min, vs 58.4 min fortpcds_sf100.xmlrun at the same time, which projects to about 3.0 h in the nightly (per-test budget 4 h). Copies ofweb_returnsfrom two separate loads have identical data files.Workflow [PR]
Sync PR [sync-upstream/pr/131427]
Version info
26.11.1.2615-master(included in26.11and later)