Skip to content

Commit

Permalink
Update tidb-resource-control.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd committed Feb 17, 2023
1 parent 540b7e4 commit 0a15cc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tidb-resource-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Request Unit (RU) 是 TiDB 对 CPU、IO 等系统资源的统一抽象的单位,
资源管控特性引入了两个新的全局开关变量:

* TiDB: 通过配置全局变量 [`tidb_enable_resource_control`](/system-variables.md#tidb_enable_resource_control-从-v660-版本开始引入) 控制是否打开资源组流控。
* TiKV: 通过配置参数 [`resource-control.enabled`](/tikv-configuration-file.md#resource_control) 控制是否使用基于资源组配额的请求调度。
* TiKV: 通过配置参数 [`resource-control.enabled`](/tikv-configuration-file.md#resource-control) 控制是否使用基于资源组配额的请求调度。

这两个参数的组合效果见下表:

Expand Down Expand Up @@ -82,7 +82,7 @@ Request Unit (RU) 是 TiDB 对 CPU、IO 等系统资源的统一抽象的单位,
SET GLOBAL tidb_enable_resource_control = 'ON';
```

2. 将 TiKV 参数 [`resource-control.enabled`](/tikv-configuration-file.md#resource_control) 设为 `true`。
2. 将 TiKV 参数 [`resource-control.enabled`](/tikv-configuration-file.md#resource-control) 设为 `true`。

### 第 2 步:创建资源组,并绑定用户到资源组

Expand Down Expand Up @@ -118,7 +118,7 @@ Request Unit (RU) 是 TiDB 对 CPU、IO 等系统资源的统一抽象的单位,

TiDB 会定时采集资源管控的运行时信息,并在 Grafana 的 **Resource Control Dashboard** 中提供了相关指标的可视化图表。指标详情参见 [Resource Control 监控指标详解](/grafana-resource-control-dashboard.md) 。

TiKV 中也记录了来自于不同资源组的请求 QPS,详见 [TiKV监控指标详解](/grafana-tikv-dashboard.md#gRPC)
TiKV 中也记录了来自于不同资源组的请求 QPS,详见 [TiKV监控指标详解](/grafana-tikv-dashboard.md#grpc)

## 工具兼容性

Expand Down

0 comments on commit 0a15cc1

Please sign in to comment.