Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions br/backup-and-restore-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,9 @@ TiDB v6.6.0 版本之前的 BR 版本兼容性矩阵:
- [TiDB 快照备份与恢复使用指南](/br/br-snapshot-guide.md)
- [TiDB 日志备份与 PITR 使用指南](/br/br-pitr-guide.md)
- [备份存储](/br/backup-and-restore-storages.md)

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 8: 备份与还原" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff7" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch09_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions choose-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,3 +686,9 @@ mysql> SHOW WARNINGS; -- cannot hit plan cache since the JSON_CONTAINS predicat
+---------+------+-------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
```

## 相关资源

<RelatedResources>
<ResourceCard title="TiDB SQL 调优实验 1: 聚簇索引和非聚簇索引" type="lab" link="https://labs.pingcap.com/labs/dba_307_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/307-01.png" duration="90 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions clustered-indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,9 @@ mysql> split table t by (0, ''), (50000, ''), (100000, '');
mysql> create table t (a bigint primary key nonclustered auto_random);
ERROR 8216 (HY000): Invalid auto random: column a is not the integer primary key, or the primary key is nonclustered
```

## 相关资源

<RelatedResources>
<ResourceCard title="TiDB SQL 调优实验 1: 聚簇索引和非聚簇索引" type="lab" link="https://labs.pingcap.com/labs/dba_307_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/307-01.png" duration="90 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions dm/migrate-data-using-dm.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,9 @@ DM 在运行过程中,DM-worker、DM-master 及 dmctl 都会通过日志输出

- DM-master 日志目录:通过 DM-master 进程参数 `--log-file` 设置。如果使用 TiUP 部署 DM,则日志目录位于 `{log_dir}`。
- DM-worker 日志目录:通过 DM-worker 进程参数 `--log-file` 设置。如果使用 TiUP 部署 DM,则日志目录位于 `{log_dir}`。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 10: 使用 TiDB Data Migration 进行数据迁移" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff9" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch11_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions dumpling-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,3 +423,9 @@ SET GLOBAL tidb_gc_life_time = '10m';
| view | `{{fn .DB}}.{{fn .Table}}-schema-view` |

例如,使用 `--output-filename-template '{{define "table"}}{{fn .Table}}.$schema{{end}}{{define "data"}}{{fn .Table}}.{{printf "%09d" .Index}}{{end}}'`,Dumpling 会将表 `db.tbl:normal` 的 schema 写入名为 `tbl%3Anormal.$schema.sql` 的文件中,将数据写入 `tbl%3Anormal.000000000.sql`、`tbl%3Anormal.000000001.sql` 等文件中。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 7: 使用 Dumpling 导出数据" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff6" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch08_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions get-started-with-tidb-lightning.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@ tiup install tidb-lightning
本教程对 TiDB Lightning 进行了简单的介绍,并快速部署了一套简单的 TiDB Lightning 集群,将全量备份数据导入到 TiDB 集群中。

关于 TiDB Lightning 的详细功能和使用,参见 [TiDB Lightning 简介](/tidb-lightning/tidb-lightning-overview.md)。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 6: 使用 TiDB Lightning 将数据导入 TiDB" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff5" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch07_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions partitioned-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -2088,3 +2088,9 @@ mysql> explain select /*+ TIDB_INLJ(t1, t2) */ t1.* from t1, t2 where t2.code =
SET session tidb_partition_prune_mode = dynamic;
source gatherGlobalStats.sql
```

## 相关资源

<RelatedResources>
<ResourceCard title="TiDB SQL 调优实验 2: 分区表" type="lab" link="https://labs.pingcap.com/labs/dba_307_lab_ff1" imgSrc="https://lab-static.pingcap.com/quick-demo/307-02.png" duration="90 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions production-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,3 +387,9 @@ tiup cluster display tidb-test
- [TiCDC 常见问题](/ticdc/ticdc-faq.md)

如果你想在不中断线上服务的情况下扩容或缩容 TiDB 集群,请参阅[使用 TiUP 扩容缩容 TiDB 集群](/scale-tidb-using-tiup.md)。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 1: 使用 TiUP 部署 TiDB 集群" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions sync-diff-inspector/sync-diff-inspector-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,9 @@ REPLACE INTO `sbtest`.`sbtest99`(`id`,`k`,`c`,`pad`) VALUES (3700000,2501808,'he
* sync-diff-inspector 会优先使用 TiDB 的统计信息来划分 chunk,需要尽量保证统计信息精确,可以在**业务空闲期**手动执行 `analyze table {table_name}`。
* table-rule 的规则需要特殊注意,例如设置了 `schema-pattern="test1"`,`table-pattern = "t_1"`,`target-schema="test2"`,`target-table = "t_2"`,会对比 source 中的表 `test1`.`t_1` 和 target 中的表 `test2`.`t_2`。sync-diff-inspector 默认开启 sharding,如果 source 中还有表 `test2`.`t_2`,则会把 source 端的表 `test1`.`t_1` 和表 `test2`.`t_2` 作为 sharding 与 target 中的表 `test2`.`t_2` 进行一致性校验。
* 生成的 SQL 文件仅作为修复数据的参考,需要确认后再执行这些 SQL 修复数据。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 9: 使用 sync-diff-inspector 进行数据检查" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff8" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch10_en.png" duration="60 分钟" />
</RelatedResources>
6 changes: 6 additions & 0 deletions ticdc/ticdc-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ WHERE `A` = 1 OR `A` = 2;
- 从 BR v8.2.0 起,BR 数据恢复对 TiCDC 的限制被放宽:如果所恢复数据的 BackupTS(即备份时间)早于 Changefeed 的 [CheckpointTS](/ticdc/ticdc-classic-architecture.md#checkpointts)(即记录当前同步进度的时间戳),BR 数据恢复可以正常进行。考虑到 BackupTS 通常较早,此时可以认为绝大部分场景下,当集群存在 TiCDC 同步任务时,BR 都可以进行数据恢复。

对上游存在较大事务的场景提供部分支持,详见 [TiCDC 是否支持同步大事务?有什么风险吗?](/ticdc/ticdc-faq.md#ticdc-支持同步大事务吗有什么风险吗)。

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 11: 使用 TiCDC 复制 TiDB 变更事件" type="lab" link="https://labs.pingcap.com/labs/dba_303_lab_ff10" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch12_en.png" duration="60 分钟" />
</RelatedResources>
10 changes: 10 additions & 0 deletions tidb-resource-control-ru-groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,14 @@ TiDB Dashboard 中可以查看当前 [`RESOURCE_GROUPS`](/information-schema/inf
* [CREATE RESOURCE GROUP](/sql-statements/sql-statement-create-resource-group.md)
* [ALTER RESOURCE GROUP](/sql-statements/sql-statement-alter-resource-group.md)
* [DROP RESOURCE GROUP](/sql-statements/sql-statement-drop-resource-group.md)
<<<<<<< HEAD
* [RESOURCE GROUP RFC](https://github.com/pingcap/tidb/blob/master/docs/design/2022-11-25-global-resource-control.md)
=======
* [RESOURCE GROUP RFC](https://github.com/pingcap/tidb/blob/release-8.5/docs/design/2022-11-25-global-resource-control.md)
Comment thread
Oreoxmt marked this conversation as resolved.
Outdated

## 相关资源

<RelatedResources>
<ResourceCard title="管理 TiDB 实验 5: 使用资源控制功能管理数据库混合工作负载" type="lab" link="https://labs.pingcap.com/labs/demo_006" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch05_en.png" duration="90 分钟" />
</RelatedResources>
>>>>>>> db98180686 (add Related resources to more docs (#21641))
Comment thread
Oreoxmt marked this conversation as resolved.
Outdated
Loading