v.25.4Improvement

Do not check parts

Do not check parts on other disks for MergeTree if disk = ... is set. #78855 (Azat Khuzhin).
Improves MergeTree table performance by restricting part checks to the specified disk when using the disk = ... setting.

Why it matters

This feature addresses unnecessary checks of data parts on other disks when a specific disk is set for MergeTree 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 the disk = ... parameter in your MergeTree table definition or query context. The system will then only check parts on the specified disk and skip others automatically.