v.18.12New Feature
Added system.query_thread_log Table and log_query_threads Setting
Added thesystem.query_thread_logtable, which contains information about each query execution thread. Added thelog_query_threadssetting. #2482
Why it matters
This feature helps users monitor and analyze the behavior of individual threads involved in query execution, allowing for better performance diagnostics and debugging at a more granular level.How to use it
Enable the feature by setting thelog_query_threads setting to 1 (true). After that, query information about execution threads can be retrieved from the system.query_thread_log table using standard SQL queries.