Browse Source

Merge "Expose Innodb_buffer_pool_size" into stable/ussuri

changes/54/787954/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
dea9f1ef60
2 changed files with 17 additions and 0 deletions
  1. +11
    -0
      deployment/database/mysql-base.yaml
  2. +6
    -0
      releasenotes/notes/innodb-tuning-param-e71d2fd727c450ec.yaml

+ 11
- 0
deployment/database/mysql-base.yaml View File

@ -72,6 +72,11 @@ parameters:
default: ''
description: Override the private key size used when creating the
certificate for this service
MysqlInnodbBufferPoolSize:
type: string
description: Buffer pool size for MySQL database; this needs to be larger
for at-scale deployments
default: ''
parameter_groups:
- label: deprecated
@ -91,6 +96,7 @@ conditions:
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MysqlNetwork]}]}
- 6
key_size_override_unset: {equals: [{get_param: MysqlCertificateKeySize}, '']}
innodb_buffer_pool_size: {not: {equals: [{get_param: MysqlInnodbBufferPoolSize}, '']}}
outputs:
container_config_scripts:
@ -184,6 +190,11 @@ outputs:
- {get_param: CertificateKeySize}
- {get_param: MysqlCertificateKeySize}
- {}
-
if:
- innodb_buffer_pool_size
- innodb_buffer_pool_size: {get_param: MysqlInodbBufferPoolSize}
- {}
step_config: |
include tripleo::profile::base::database::mysql
metadata_settings:


+ 6
- 0
releasenotes/notes/innodb-tuning-param-e71d2fd727c450ec.yaml View File

@ -0,0 +1,6 @@
---
features:
- |
The MariaDB tuning parameter for Innodb_buffer_pool_size can now be set via
a new TripleO Heat Template parameter 'MysqlInnodbBufferPoolSize'.
By default this is undefined.

Loading…
Cancel
Save