v.22.12Improvement
Allow Collection of Profile Events in system.trace_log for Performance Analysis
Allow to collect profile events withtrace_type = 'ProfileEvent'tosystem.trace_logon each increment with current stack, profile event name and value of the increment. It can be enabled by the settingtrace_profile_eventsand used to investigate performance of queries. #43639 (Anton Popov).
Why it matters
This feature enables detailed tracking of profile events to help users investigate and analyze the performance of queries by capturing incremental changes along with context such as the call stack and event details.How to use it
Enable the feature by settingtrace_profile_events to 1. Once enabled, profile event increments will be logged into system.trace_log automatically.