v.25.5Improvement

Optimize access to system

Optimize access to system.parts (read columns/indexes size only when requested). #79352 (Azat Khuzhin).
Optimized access to the system.parts table by reading columns and indexes size only when explicitly requested.

Why it matters

This feature improves performance when querying system.parts by avoiding unnecessary reading of columns and indexes sizes, reducing resource usage and query latency when these details are not needed.

How to use it

Users can benefit from this optimization automatically when querying system.parts. No special configuration or syntax changes are required; the system now reads size information only on demand.