Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d1475dd
dashboard: refresh top sql docs and screenshots
yibin87 Mar 11, 2026
f11aa36
dashboard: add top sql order by and settings screenshots
yibin87 Mar 11, 2026
a412fd7
dashboard: align top sql enable text with screenshots
yibin87 Mar 11, 2026
70911c9
Address comments
yibin87 Mar 12, 2026
86c5835
docs: address Top SQL review feedback
yibin87 Mar 17, 2026
6b31f9a
media: update dashboard screenshot versions
yibin87 Mar 17, 2026
af81e88
tikv config: add resource-metering.enable-network-io-collection
yibin87 Mar 11, 2026
ddebafe
Apply suggestion from @yibin87
yibin87 Mar 11, 2026
8088ab6
tikv config: replace 网络 I/O wording with 网络流量
yibin87 Mar 11, 2026
a3d58cf
tikv config: remove flaky GitHub links from config doc
yibin87 Mar 11, 2026
51149ab
revert two changes caused by false link check results
qiancai Mar 16, 2026
daf34b2
Apply suggestions from code review
qiancai Mar 27, 2026
9a3e718
Apply suggestions from code review
qiancai Mar 30, 2026
b50f6c0
Update tikv-configuration-file.md
qiancai Mar 30, 2026
0ae4493
实例 -> 节点
qiancai Mar 30, 2026
853f328
Update dashboard/top-sql.md
qiancai Mar 30, 2026
b8f735e
add v8.5 to image names to avoid replacing images in old branches
qiancai Mar 30, 2026
0619fdc
Merge branch 'update_topsql_functionality' of https://github.com/yibi…
qiancai Mar 30, 2026
4eaeaf7
add v8.5 to image names
qiancai Mar 30, 2026
7f2d477
add v9.0.0
qiancai Mar 30, 2026
c5c9bcb
Apply suggestions from code review
qiancai Apr 10, 2026
a0d6c40
Update tikv-configuration-file.md
qiancai Apr 10, 2026
a97fb32
fix broken links
qiancai Apr 13, 2026
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.
15 changes: 15 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -2675,6 +2675,21 @@ 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 和 v9.0.0 版本开始引入</span>

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

> **注意:**
>
> 逻辑 I/O 指请求在 TiKV 存储层处理的逻辑数据量,例如读取过程中扫描或处理的数据量,以及写请求自身的逻辑写入字节数;物理 I/O 指底层存储设备实际发生的磁盘读写流量,会受到 block cache、compaction、flush 等因素影响。因此,逻辑 I/O 与实际物理 I/O 并不等价,也不能直接一一对应。
Comment thread
qiancai marked this conversation as resolved.
Outdated

## resource-control

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