v.25.8Improvement
Add profile event MutationAffectedRowsUpperBound that shows
Added profile eventMutationAffectedRowsUpperBoundthat shows the number of affected rows in a mutation (e.g., the total number of rows that satisfy the condition inALTER UPDATEorALTER DELETEquery. #83978 (Anton Popov).
Why it matters
This feature provides users with insight into how many rows are affected by mutation queries, helping in monitoring and debugging by revealing the upper bound of impacted rows duringALTER UPDATE and ALTER DELETE commands.How to use it
Users can access theMutationAffectedRowsUpperBound profile event after executing mutation queries to see the count of affected rows. This event is automatically recorded and available in the query profiling data without any additional configuration.