Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
FILL and FLUSH CONNECTION POOLS
On this page
The FILL CONNECTION POOLS and FLUSH CONNECTION POOLS commands open and close (reset) connections to leaf nodes.
Syntax
{FILL | FLUSH} CONNECTION POOLS;Remarks
-
FILL: opens the maximum number of pooled connections (specified for the connection) to each leaf node in the cluster. -
FLUSH: shuts down all existing connections and closes idle pooled connections. -
This command can be run on any node in the cluster.
It opens/closes connections only from the nodes on which it is executed. Hence, in order to open/close connections from multiple nodes, this command must be individually executed on each node.
Example
FILL CONNECTION POOLS;
Query OK, 2 rows affected (2.02 sec)FLUSH CONNECTION POOLS;
Query OK, 2 rows affected (200 ms)Last modified: