v.25.10Improvement

Enable global sampling profiler

Enable global sampling profiler (which means - even for server threads not related to queries) by default: collect stacktraces of all threads every 10 seconds of CPU and real time. #88209 (Alexander Tokmakov).
Enabled the global sampling profiler by default, which collects stack traces of all server threads every 10 seconds based on CPU and real time, including threads not related to queries.

Why it matters

This feature provides comprehensive profiling of the ClickHouse server by collecting stack traces from all threads, including those unrelated to query execution. It helps identify performance bottlenecks and understand the behavior of the server more thoroughly.

How to use it

The global sampling profiler is enabled by default and collects stack traces every 10 seconds automatically. Users do not need to take additional action to activate it.