Skip to content

Commit 0c2e4ec

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs-cn master
1 parent a376505 commit 0c2e4ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

markdown-pages/zh/tidb/master/troubleshoot-hot-spot-issues.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ TiDB 对每个表分配一个 TableID,每一个索引都会分配一个 IndexI
2121
每行数据按照如下规则进行编码成 Key-Value pair:
2222

2323
```text
24-
Key: tablePrefix{tableID}_recordPrefixSep{rowID}
24+
Key: tablePrefix{TableID}_recordPrefixSep{RowID}
2525
Value: [col1, col2, col3, col4]
2626
```
2727

@@ -30,14 +30,14 @@ Value: [col1, col2, col3, col4]
3030
对于 Index 数据,会按照如下规则编码成 Key-Value pair:
3131

3232
```text
33-
Key: tablePrefix{tableID}_indexPrefixSep{indexID}_indexedColumnsValue
33+
Key: tablePrefix{TableID}_indexPrefixSep{IndexID}_indexedColumnsValue
3434
Value: rowID
3535
```
3636

37-
Index 数据还需要考虑 Unique Index 和非 Unique Index 两种情况,对于 Unique Index,可以按照上述编码规则。但是对于非 Unique Index,通过这种编码并不能构造出唯一的 Key,因为同一个 Index 的 `tablePrefix{tableID}_indexPrefixSep{indexID}` 都一样,可能有多行数据的 `ColumnsValue` 是一样的,所以对于非 Unique Index 的编码做了一点调整:
37+
Index 数据还需要考虑 Unique Index 和非 Unique Index 两种情况,对于 Unique Index,可以按照上述编码规则。但是对于非 Unique Index,通过这种编码并不能构造出唯一的 Key,因为同一个 Index 的 `tablePrefix{TableID}_indexPrefixSep{IndexID}` 都一样,可能有多行数据的 `ColumnsValue` 是一样的,所以对于非 Unique Index 的编码做了一点调整:
3838

3939
```text
40-
Key: tablePrefix{tableID}_indexPrefixSep{indexID}_indexedColumnsValue_rowID
40+
Key: tablePrefix{TableID}_indexPrefixSep{IndexID}_indexedColumnsValue_rowID
4141
Value: null
4242
```
4343

markdown-pages/zh/tidb/master/troubleshoot-write-conflicts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ tiup ctl:v<CLUSTER_VERSION> pd -u https://127.0.0.1:2379 tso {TIMESTAMP}
7777

7878

7979
```shell
80-
curl http://{TiDBIP}:10080/db-table/{tableID}
80+
curl http://{TiDBIP}:10080/db-table/{TableID}
8181
```
8282

8383
通过 indexID 查找具体的索引名:

0 commit comments

Comments
 (0)