Repository navigation
Conversation
Direct reads never use the page cache, so checking a table that is already cached becomes bound by device throughput. On an EBS gp3 volume (125 MiB/s) CHECK TABLE of an 85 GiB cached table went from 126-171 s to 582-700 s, while on local NVMe the difference was small. Say in the setting description that this is the case where the setting should be turned off. Related: ClickHouse#133447 (comment) 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; 0 findings) plus my own review (2 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-10:20261124-145000 |
|
Workflow [PR], commit [5fcbd04] Summary: ✅
AI ReviewSummaryPR #134174 clarifies when to disable Final VerdictStatus: ✅ Approve |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-40:20261124-143800 |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units7 translation units recompiled, 8 s compile time in total, 7 of them have a recent master baseline. |
Related: #133447
Related: #133431
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The description of the MergeTree setting
check_part_use_direct_ionow says to disable it where direct reads are slower than reads through the page cache, for example on Amazon EBS.Description
The description of
check_part_use_direct_ionow says when to turn it off. Direct reads always go to the storage device, so checking a table that is already in the page cache becomes bound by device throughput. A nightly benchmark on EBS measuredCHECK TABLEof an 85 GiB cached table going from 126-171 s to 582 s and 700 s (about the 125 MiB/s of a default gp3 volume), while on local NVMe the difference was small.Validation:
system.merge_tree_settingsshows the new paragraph in the description; the reference page is generated from this string, so nothing underdocs/is edited.Workflow [PR]
Sync PR [sync-upstream/pr/134174]