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
This commit is contained in:
parent
2801a732da
commit
be16cc8412
2
releasenotes/notes/db-pooling-7c42f3aed39d5fc9.yaml
Normal file
2
releasenotes/notes/db-pooling-7c42f3aed39d5fc9.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user