v.25.7New Feature
Workload setting max_waiting_queries is now supported
The workload settingmax_waiting_queriesis now supported. It can be used to limit the size of the query queue. If the limit is reached, all subsequent queries will be terminated with theSERVER_OVERLOADEDerror. #81250 (Oleg Doronin).
Why it matters
This feature helps prevent excessive query queue buildup by terminating new queries with aSERVER_OVERLOADED error once the queue size reaches the specified limit. It ensures better resource management and system stability under high load.How to use it
To use this feature, set themax_waiting_queries parameter in the workload configuration to the desired maximum number of queued queries. When the number of waiting queries exceeds this limit, new queries will be rejected immediately with a SERVER_OVERLOADED error.