v.18.12New Feature
New Logging for Query Settings in system.query_log and system.processes Tables
Thesystem.query_logandsystem.processes(SHOW PROCESSLIST) tables now have information about all changed settings when you run a query (the nested structure of theSettingsdata). Added thelog_query_settingssetting. #2482
Why it matters
This feature enables users to track and analyze all modifications to query settings during execution, improving diagnostics and debugging capabilities by providing comprehensive visibility into the exact settings applied for each query.How to use it
To enable logging of changed query settings, set thelog_query_settings setting to 1. Once enabled, the system.query_log and system.processes tables will include a nested Settings structure detailing all modified settings for each query.