我是从3.0.9升级到4.0.8,我在配置文件/home/tidb/tidb-ansible/conf/tidb.yml 中加入了以下部分,
global:
# TiDB Configuration.
** # The socket file to use for connection.**
** # socket: “”**
** # Schema lease duration, very dangerous to change only if you know what you do.**
** # lease: “45s”**
** # The limit of concurrent executed sessions.**
** # token-limit: 1000**
** # Only print a log when out of memory quota.**
** # Valid options: [“log”, “cancel”]**
** # oom-action: “cancel”**
** # Set the memory quota for a query in bytes. Default: 32GB**
** # mem-quota-query: 34359738368**
mem-quota-query: 2147483648
帮忙看下这样修改参数正确吗?
如果让修改参数生效怎么做,有参考案例吗?