v.23.11Improvement
Filter by Engine When Scanning System Tables to Improve Efficiency
Able to filter by engine when scanning system.tables, avoid unnecessary (potentially time-consuming) connection. #56813 (jsc0218).
Why it matters
This feature addresses the inefficiency of scanning all tables insystem.tables regardless of their engine type, which can lead to unnecessary and potentially time-consuming connections. By filtering by engine, users can speed up queries and reduce resource usage.How to use it
Users can apply the filter by specifying the desired engine type in theWHERE clause of queries against system.tables. For example:SELECT * FROM system.tables WHERE engine = 'MergeTree'