v.18.12New Feature
ProfileEvents Counters for Detailed Query Resource Consumption
The ProfileEvents counters are applied globally and for each query, as well as for each query execution thread, which allows you to profile resource consumption by query in detail. #2482Why it matters
To enable fine-grained monitoring of resource usage at multiple levels—globally, per query, and per query thread—allowing users to better understand and optimize query performance.How to use it
TheProfileEvents counters are automatically collected and available for analysis. Users can inspect these counters in system tables or logs to profile resource consumption without additional configuration.