summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 05:38:13 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 05:38:13 -0600
commit11d88375218cf94d24024b4178d2d1cd78e49999 (patch)
tree5f53002573affd6702e9a55ab0a1661e606b8dcc /ci/config_tpl/juju2/bundle_tpl
parent088c9dba38329853b6506474f7d1fe06784576f2 (diff)
Trying to setup the right values of mysql for cluster.
Change-Id: I3d1d8e7284e33b9eb056d17b41f792e757699747 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/mysql.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index e5626a75..dd455f0d 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -8,11 +8,12 @@
{% endif %}
options:
{% if os.ha.mode == 'ha' %}
- innodb-buffer-pool-size: 1G
+ innodb-buffer-pool-size: 16M
+ max-connections: 200
{% else %}
innodb-buffer-pool-size: 1G
-{% endif %}
max-connections: 4000
+{% endif %}
#performance-schema: true
#source: "deb http://repo.percona.com/apt xenial main"
#key: "8507EFA5"