v.22.1Improvement
Add max_concurrent_select_queries and max_concurrent_insert_queries Settings
Add settingsmax_concurrent_select_queriesandmax_concurrent_insert_queriesfor control concurrent queries by query kind. Close #3575. #32609 (SuperDJY).
Why it matters
These settings allow database administrators to limit the concurrency ofSELECT and INSERT queries independently. This helps in managing system resources more effectively, preventing overload caused by too many simultaneous queries of a particular type, thereby improving stability and performance.How to use it
To enable these limits, configure the settingsmax_concurrent_select_queries and max_concurrent_insert_queries in your ClickHouse server configuration or at runtime, specifying the maximum allowed concurrent SELECT or INSERT queries respectively.