v.25.4Improvement
Do not check parts
Do not check parts on other disks forMergeTreeifdisk = ...is set. #78855 (Azat Khuzhin).
Why it matters
This feature addresses unnecessary checks of data parts on other disks when a specific disk is set forMergeTree tables. It optimizes performance and resource usage by confining operations only to the specified disk, avoiding redundant I/O and overhead.How to use it
To enable this behavior, set thedisk = ... parameter in your MergeTree table definition or query context. The system will then only check parts on the specified disk and skip others automatically.