瀏覽代碼

lowered buffer values

pull/1/head
maxstack 7 年之前
父節點
當前提交
b80c0b31c1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      galera/files/my.cnf

+ 2
- 2
galera/files/my.cnf 查看文件

@@ -149,7 +149,7 @@ max_binlog_size = 100M
default_storage_engine = InnoDB
# you can't just change log file size, requires special procedure
#innodb_log_file_size = 50M
innodb_buffer_pool_size = 12G
innodb_buffer_pool_size = {{ service.get('innodb_buffer_pool_size', 2G) }}
innodb_log_buffer_size = 8M
innodb_file_per_table = 1
innodb_open_files = 400
@@ -181,7 +181,7 @@ query_cache_size=0
bind-address={{ service.bind.address }}
#wsrep_cluster_address=gcomm://
wsrep_cluster_address=gcomm://{% for member in service.members %}{{ member.host}}{% if not loop.last %},{% endif %}{% endfor %}?pc.wait_prim=no
wsrep_provider_options="gcache.size=8192M"
wsrep_provider_options="gcache.size={{ service.get('gcache.size', 2048M) }}"
#wsrep_provider_options="pc.bootstrap=true"
# Mandatory settings
#wsrep_provider=

Loading…
取消
儲存