In most cases on Compose, database connections is managed through HAProxy or other portals. Connection limits for portals are enumerated in the table below. If you need more connections, it is possible to add portals via the Security page on your deployment.
|Deployment Type||Number of Connections||Per||See|
|PostgreSQL||100 - 1000||Deployment||1|
|etcd 3||2000||HAProxy portal|
|Compose for MySQL||95||HAProxy portal||2|
1: PostgreSQL: If your database needs more connections and you are unable to set the connections value any higher, then add additional resources , and check to see if the connection limit can be raised.
2: Compose for MySQL: There is a MAXIMUM of 151 connections per deployment.
If this article didn't solve things, summon a human and get some help!
Updated over 3 years ago