File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -50,30 +50,6 @@ TiDB 支持部署和运行在 Intel x86-64 架构的 64 位通用硬件服务器
50
50
51
51
查看访问监控的机器时间跟集群内机器的时间差,如果比较大,更正时间后即可显示正常。
52
52
53
- ### supervise/svc/svstat 服务具体起什么作用?
54
-
55
- - supervise 守护进程
56
- - svc 启停服务
57
- - svstat 查看进程状态
58
-
59
- ### inventory.ini 变量参数解读
60
-
61
- | ** 变量** | ** 含义** |
62
- | --- | --- |
63
- | cluster_name | 集群名称,可调整 |
64
- | tidb_version | TiDB 版本 |
65
- | deployment_method | 部署方式,默认为 binary,可选 docker |
66
- | process_supervision | 进程监管方式,默认为 systemd,可选 supervise |
67
- | timezone | 修改部署目标机器时区,默认为 Asia/Shanghai,可调整,与 set_timezone 变量结合使用 |
68
- | set_timezone | 默认为 True,即修改部署目标机器时区,关闭可修改为 False |
69
- | enable_elk | 目前不支持,请忽略 |
70
- | enable_firewalld | 开启防火墙,默认不开启 |
71
- | enable_ntpd | 检测部署目标机器 NTP 服务,默认为 True,请勿关闭 |
72
- | machine_benchmark | 检测部署目标机器磁盘 IOPS,默认为 True,请勿关闭 |
73
- | set_hostname | 根据 IP 修改部署目标机器主机名,默认为 False |
74
- | enable_slow_query_log | TiDB 慢查询日志记录到单独文件({{ deploy_dir }}/log/tidb_slow_query.log),默认为 False,记录到 tidb 日志 |
75
- | deploy_without_tidb | KV 模式,不部署 TiDB 服务,仅部署 PD、TiKV 及监控服务,请将 inventory.ini 文件中 tidb_servers 主机组 IP 设置为空。 |
76
-
77
53
### 如何单独记录 TiDB 中的慢查询日志,如何定位慢查询 SQL?
78
54
79
55
1 . TiDB 中,对慢查询的定义在 TiDB 的配置文件中。` tidb_slow_log_threshold: 300 ` ,这个参数是配置慢查询记录阈值的,单位是 ms。
You can’t perform that action at this time.
0 commit comments