v.23.7Improvement

Log Async Insert Flush Queries into system.query_log

Log async insert flush queries into system.query_log. #51160 (Raúl Marín).
Log asynchronous insert flush queries into the system.query_log table.

Why it matters

This feature enables tracking of asynchronous insert flush queries by logging them into system.query_log. It helps users monitor and debug asynchronous insert operations more effectively by providing visibility into when and how flush queries are executed.

How to use it

The logging of asynchronous insert flush queries is now enabled by default and requires no additional configuration from users. Users can query the system.query_log table to see recorded flush queries related to asynchronous inserts.