About MySQL's connection pool shortage behavior
search cancel

About MySQL's connection pool shortage behavior


Article ID: 107782


Updated On:


STARTER PACK-7 CA Rapid App Security CA API Gateway


In MySQL of API-GW in environment setting multi-master replication
When the DB on the master side becomes insufficient in the connection pool, on the slave side it seems that processing will switch.
In that case, does the information such as insufficient connection pool remain in the log somewhere?
We assume that you accessed ssgDB here.


CA API Gateway


It appears that failover may happen whenever the application is unable to connect to a database, not only when the database completely fails. 

Whether a query is performed on the primary or secondary database is not logged by the Gateway, so the information is not available in ssg.log. If you would like to see a log when an entry is made to db2, it would make sense to configure MySQL to log that information on that node.