diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-08 18:28:30 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-08 18:29:21 -0500 |
commit | a32d1f2092a6455edd2f4289f68ab3430f9779dd (patch) | |
tree | e6e8aa29f3ea7d7bafaef57eaaa4028fbea147c0 /ci/config_tpl/bundle_tpl/mysql.yaml | |
parent | ce29674c1a721508004edcd1c412642dfcace882 (diff) |
qtuning the HA mode of cluster to respond for apis.
Change-Id: I070b62f063ec6ecb1ea7501139dfcf1c34593a42
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/bundle_tpl/mysql.yaml')
-rw-r--r-- | ci/config_tpl/bundle_tpl/mysql.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/config_tpl/bundle_tpl/mysql.yaml b/ci/config_tpl/bundle_tpl/mysql.yaml index 110140e9..afa45193 100644 --- a/ci/config_tpl/bundle_tpl/mysql.yaml +++ b/ci/config_tpl/bundle_tpl/mysql.yaml @@ -2,8 +2,11 @@ charm: "local:{{ ubuntu.release }}/percona-cluster" num_units: {{ unit_qty() }} options: - innodb-buffer-pool-size: 100M - #lp1366997-workaround: true +{% if os.ha.mode == 'ha' %} + innodb-buffer-pool-size: 10G +{% else %} + innodb-buffer-pool-size: 1G +{% endif %} max-connections: 20000 root-password: {{ get_password('mysql_root') }} sst-password: {{ get_password('mysql_sst') }} |