Repository navigation
Read columns of Compact part in the order of the file (to avoid backward seeks) - #131439
Conversation
|
Workflow [PR], commit [54374de] Summary: ✅
AI ReviewSummaryThe PR reads full columns of Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units8 translation units recompiled, 15 s compile time in total, 8 of them have a recent master baseline. |
…ard seeks) `MergeTreeReaderCompactSingleBuffer` reads all columns of a granule with one buffer, in the order of `columns_to_read`. Mutation passes them in the order of `NameSet`, so the reader seeks backward, and each backward seek out of the buffer is a new request that reads the data after it again, which drastically increases amount of IO/S3 requests and amount of read data. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
📊 Cloud Performance Report ✅ AI verdict: no significant changes detected. K_source=4 K_base=10 flagged=0/65 clickbench🟢 No significant changes tpch_adapted_1_official🟢 No significant changes Debug info
|
Backport #131439 to 26.11: Read columns of Compact part in the order of the file (to avoid backward seeks)
Cherry pick #131439 to 26.8: Read columns of Compact part in the order of the file (to avoid backward seeks)
…f the file (to avoid backward seeks)
Cherry pick #131439 to 26.9: Read columns of Compact part in the order of the file (to avoid backward seeks)
…f the file (to avoid backward seeks)
Cherry pick #131439 to 26.10: Read columns of Compact part in the order of the file (to avoid backward seeks)
…of the file (to avoid backward seeks)
Backport #131439 to 26.9: Read columns of Compact part in the order of the file (to avoid backward seeks)
Backport #131439 to 26.8: Read columns of Compact part in the order of the file (to avoid backward seeks)
Backport #131439 to 26.10: Read columns of Compact part in the order of the file (to avoid backward seeks)
MergeTreeReaderCompactSingleBufferreads all columns of a granule with one buffer, in the order ofcolumns_to_read. Mutation passes them in the order ofNameSet, so the reader seeks backward, and each backward seek out of the buffer is a new request that reads the data after it again, which drastically increases amount of IO/S3 requests and amount of read data.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Read columns of Compact part in the order of the file (to avoid backward seeks)
Introduced in: #98884
Fixes: https://github.com/ClickHouse/clickhouse-private/issues/87943
Workflow [PR]
Sync PR [sync-upstream/pr/131439]
Version info
26.12.1.40-master(included in26.12and later)26.11.1.2919,26.10.12.13,26.9.38.9,26.8.46.6