This content has been marked as final.
Show 2 replies
-
1. Re: Datasource connection pool usage in a cluster
f_marchioni Dec 3, 2014 9:51 AM (in response to mylos78)Mind it: Datasource connection pools are created on every node of the cluster.
Simple proof of concept: deploy a datasource on a cluster of two nodes. Set min_pool_size to lets say 10 and enable prefill. This means you will reclaim 10 connections from the DB on each node.
mysql> show status like 'Conn%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Connections | 22 |
+---------------+-------+
1 row in set (0.00 sec)
(2 connections are open mysql shells)
Hope it helps,
Francesco
-
2. Re: Datasource connection pool usage in a cluster
mylos78 Dec 3, 2014 9:56 AM (in response to f_marchioni)Thanks Francesco!