v.21.11New Features

Send Profile Events from Server to Client with New Packet Type

Send profile events from server to client. New packet type ProfileEvents was introduced. Closes #26177. #28364 (Dmitry Novik).
Introduces a new packet type ProfileEvents to send profile events from the ClickHouse server to the client.

Why it matters

This feature enables the transmission of detailed profile event data directly from the server to the client, allowing users to analyze and monitor query execution and server performance more effectively.

How to use it

The server starts sending profile event data to clients using the new ProfileEvents packet type automatically. Users can access and utilize these profile events for performance monitoring through client tools that support this packet.