v.23.5Improvement

Added async_insert Setting for MergeTree Tables

Added setting async_insert for MergeTree tables. It has the same meaning as query-level setting async_insert and enables asynchronous inserts for specific table. Note: it doesn't take effect for insert queries from clickhouse-client, use query-level setting in that case. #49122 (Anton Popov).
Added a new table-level setting async_insert for MergeTree tables to enable asynchronous inserts on a per-table basis.

Why it matters

This feature allows users to enable asynchronous inserts directly on specific MergeTree tables, providing greater flexibility and control without relying solely on query-level settings. It helps optimize insert performance for targeted tables by decoupling insert operations from synchronous execution.

How to use it

To enable asynchronous inserts for a MergeTree table, set the async_insert setting at the table level when creating or altering the table. Note that this setting does not affect inserts executed from clickhouse-client; for those cases, use the query-level async_insert setting instead.