Project

General

Profile

MySQL DB connection pool

Added by Marianela Rodríguez almost 2 years ago

In performance tests on Redmine installed in Docker, we detected that a single connection is established with the MySQL database, generating an increase in response times.
We have configured in the config/database.yml file a limit of 5 connections to the database.
Can someone help us find a way to activate more connections to the base?

Detalles de instalación sobre Docker 19.03.1:
Redmine version 3.4.6.stable
Ruby version 2.4.5-p335 (2018-10-18) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
MySQL 5.6.26 en un servidor virtual (Red Hat Enterprise Linux Server release 7.1)

Original message: https://www.redmine.org/issues/35211