v.21.9Improvement

Add Events to Profile Calls for sleep Functions

Add events to profile calls to sleep / sleepEachRow. #26320 (Raúl Marín).
Added profiling events for monitoring the execution of sleep and sleepEachRow functions in ClickHouse.

Why it matters

This feature allows users to track and profile the usage and performance impact of sleep and sleepEachRow functions during query execution. It helps in understanding delays caused by these functions and in optimizing query performance.

How to use it

Profiling events for sleep and sleepEachRow are automatically collected when these functions are used in queries. Users can enable query profiling as usual to see detailed information about these function calls.