v.20.4Improvement
Add timestamp_ns Column to system.trace_log for High-Definition Trace Event Timelines
Add atimestamp_nscolumn tosystem.trace_log. It contains a high-definition timestamp of the trace event, and allows to build timelines of thread profiles ("flame charts"). #9696 (Alexander Kuzmenkov)
Why it matters
This feature introduces a nanosecond-precision timestamp column in thesystem.trace_log, enabling detailed timeline analysis of thread profiles such as flame charts, which improves tracing accuracy and performance diagnostics.How to use it
Users can query thetimestamp_ns column in the system.trace_log table to obtain high-definition timestamps for trace events. No additional configuration is required; the column is added by default.