v.24.6Improvement
Add Profile Events for Rows Read in PREWHERE
Add profile events for number of rows read during/after PREWHERE. #64198 (Nikita Taranov).Why it matters
This feature provides detailed metrics on the number of rows processed specifically during thePREWHERE clause execution. It helps users understand and optimize query performance by offering insight into the effectiveness and cost of the PREWHERE filter, improving resource management and query diagnostics.How to use it
Users can access the new profile events through query profiling and system tables that expose query execution details. No special configuration is required; the events are automatically available when profiling queries that usePREWHERE.