openstack-ansible/releasenotes/notes/db-pooling-7c42f3aed39d5fc9.yaml
Damian Dabrowski be16cc8412 From now on, we will change default values for database connection pooling in each role
- ``openstack_db_max_overflow: 50`` - oslo.db's default
- ``openstack_db_max_pool_size: 5`` - oslo.db's default
- ``openstack_db_pool_timeout: 30`` - sqlalchemy's default
- ``openstack_db_connection_recycle_time: 600`` - long enough to not affect performance and short enough to avoid reaching max_connections limit during keepalived failovers in most cases.

Most of the default values look fine so I didn't want to overwrite them. However, if they won't be suitable for someone, they can change them here so it won't be needed to set them independently for each role

Change-Id: I5cccbbcf41fdf270e38c5b272638fe6d848de5c1
2021-12-02 13:24:07 +01:00

3 lines
361 B
YAML

upgrade:
- We have changed default values for variables related to database connection pooling. For some services(like nova) default pool sizes will be significantly lower, we have also decreased default connection_recycle_time to 10 minutes. It should not cause any issues, but we recommended to double check these values, especially for large environments.