Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 112 additions & 38 deletions dashboard/top-sql.md

Large diffs are not rendered by default.

Binary file added media/dashboard/v8.5-top-sql-access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/dashboard/v8.5-top-sql-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/dashboard/v8.5-top-sql-usage-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/dashboard/v8.5-top-sql-usage-refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -2647,6 +2647,24 @@ Raft Engine 相关的配置项。
+ 在默认的一个 TSO 物理时钟更新周期内 (50ms),PD 最多提供 262144 个 TSO,超过这个数量后 PD 会暂缓 TSO 请求的处理。这个配置用于避免 PD 的 TSO 消耗殆尽、影响其他业务的使用。如果增大这个参数,建议同时减小 PD 的 [`tso-update-physical-interval`](/pd-configuration-file.md#tso-update-physical-interval) 参数,以获得足够的 TSO。
+ 默认值:8192

## resource-metering

资源计量 (Resource Metering) 相关的配置项。

### `enable-network-io-collection` <span class="version-mark">从 v8.5.6 版本开始引入</span>

+ 是否在 [Top SQL](/dashboard/top-sql.md) 中除了采集 CPU 数据外,还额外采集 TiKV 的网络流量和逻辑 I/O 信息。
+ 开启后,TiKV 在处理请求时会额外记录这些指标:网络入站字节数、网络出站字节数、逻辑读字节数和逻辑写字节数。
+ 上报资源消耗时,TiKV 会基于 CPU 时间、网络流量和逻辑 I/O 来筛选 Top N 记录,并额外按 Region 维度上报这些统计结果,便于更细粒度地分析热点请求或资源消耗来源。
+ 默认值:false

> **注意:**
>
> 逻辑 I/O 与物理 I/O 含义不同,两者不能直接对应:
>
> - 逻辑 I/O 指 TiKV 存储层处理请求时涉及的逻辑数据量,例如读取过程中扫描或处理的数据量,以及写请求自身的逻辑写入字节数。
> - 物理 I/O 指底层存储设备实际发生的磁盘读写流量,会受到 block cache、compaction、flush 等因素的影响。

## resource-control

资源控制 (Resource Control) 在 TiKV 存储层相关的配置项。
Expand Down
Loading