How to Map Official Configuration File Keys to Keys in tiup edit-config

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 官方的配置文件的key如何对应到tiup edit-config中的key

| username: Running

For example, the official documentation for the memory limit parameter of TiFlash is as follows: image|689x244
Trying to configure it in the configuration file using the following three methods all prompt configuration errors:

  1. max_memory_usage_for_all_queries: 0.9
  2. profiles.default.max_memory_usage_for_all_queries: 0.9
  3. profiles.default
    max_memory_usage_for_all_queries: 0.9

Modification method: tiup cluster edit-config tidbclustername
Request: How to map similar configuration item keys in the official configuration file to the actual environment

| username: Running | Original post link

In the actual environment, the configuration is as above, indicating invalid.

| username: WalterWj | Original post link

Look at this, you need to add config 通过 TiUP 部署 TiDB 集群的拓扑文件配置 | PingCAP 文档中心

| username: zhanggame1 | Original post link

You can consider placing it in the server_configs section of the configuration file.

| username: Kongdom | Original post link

In the standard example, there is this configuration. The one you maintain is missing the upper-level profiles.default.

| username: tidb菜鸟一只 | Original post link

Cluster configuration file parameters are generally placed under server_configs.

| username: TiDBer_小阿飞 | Original post link

What does “profiles.default.max_memory_usage_for_all_queries superior” mean?

| username: Kongdom | Original post link

What I mean is that this part is missing: profiles.default :yum:

| username: TiDBer_小阿飞 | Original post link

:joy: :joy: :joy:

| username: Running | Original post link

This is the standard answer, you need to add config.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.