v.24.8Improvement

Added Profile Events for Merges and Mutations Introspection

Added profile events for merges and mutations for better introspection. #68015 (Anton Popov).
Added profile events for merges and mutations to enhance query introspection and monitoring.

Why it matters

This feature solves the problem of limited visibility into the internal operations of merges and mutations by providing detailed profile events. It allows users to better understand and diagnose the behavior and performance of these operations within ClickHouse.

How to use it

Users can access the newly added profile events related to merges and mutations through the existing profiling and monitoring interfaces in ClickHouse. These events are automatically generated during operations and can be leveraged for deeper introspection without additional configuration.