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
6 changes: 6 additions & 0 deletions ai/concepts/vector-search-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,9 @@ To get started with TiDB Vector Search, see the following documents:

- [Get started with vector search using Python](/ai/quickstart-via-python.md)
- [Get started with vector search using SQL](/ai/quickstart-via-sql.md)

## Related resources

<RelatedResources>
<ResourceCard title="What is a Context Platform? A New Pattern for AI Agents in Production" type="blog" link="https://www.pingcap.com/blog/ai-application-data-layer-context-platform/" imgSrc="https://static.pingcap.com/files/2026/05/08140846/Copy-of-Blog-Feature-2.png" author="Li Shen" date="2026-05-07" />
</RelatedResources>
6 changes: 6 additions & 0 deletions br/backup-and-restore-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,9 @@ The following table lists the compatibility matrix for log backups. Note that al
- [TiDB Snapshot Backup and Restore Guide](/br/br-snapshot-guide.md)
- [TiDB Log Backup and PITR Guide](/br/br-pitr-guide.md)
- [Backup Storages](/br/backup-and-restore-storages.md)

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 8: Performing Backup and Restore" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff7" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch09_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions choose-index.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -687,3 +687,9 @@ mysql> SHOW WARNINGS; -- cannot hit plan cache since the JSON_CONTAINS predicat
+---------+------+-------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
```

## Related resources

<RelatedResources>
<ResourceCard title="TiDB SQL Tuning Lab 1: Clustered and Non-Clustered Indexes" type="lab" link="https://labs.tidb.io/labs/dba_307_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/307-01.png" duration="90 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions clustered-indexes.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,9 @@ The attribute [`AUTO_RANDOM`](/auto-random.md) can only be used on clustered ind
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
```

## Related resources

<RelatedResources>
<ResourceCard title="TiDB SQL Tuning Lab 1: Clustered and Non-Clustered Indexes" type="lab" link="https://labs.tidb.io/labs/dba_307_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/307-01.png" duration="90 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions dm/migrate-data-using-dm.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,9 @@ While the DM cluster is running, DM-master, DM-worker, and dmctl output the moni

- DM-master log directory: It is specified by the `--log-file` DM-master process parameter. If DM is deployed using TiUP, the log directory is `{log_dir}` in the DM-master node.
- DM-worker log directory: It is specified by the `--log-file` DM-worker process parameter. If DM is deployed using TiUP, the log directory is `{log_dir}` in the DM-worker node.

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 10: Migrating Data Using TiDB Data Migration" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff9" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch11_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions dumpling-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -450,3 +450,9 @@ In addition to output data files, you can define `--output-filename-template` to
| view | `{{fn .DB}}.{{fn .Table}}-schema-view` |

For example, using `--output-filename-template '{{define "table"}}{{fn .Table}}.$schema{{end}}{{define "data"}}{{fn .Table}}.{{printf "%09d" .Index}}{{end}}'`, Dumpling will write the schema of the table `db.tbl:normal` into a file named `tbl%3Anormal.$schema.sql`, and write the data into files `tbl%3Anormal.000000000.sql`, `tbl%3Anormal.000000001.sql`, and so on.

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 7: Exporting Data Using Dumpling" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff6" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch08_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions get-started-with-tidb-lightning.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,9 @@ If any error occurs, refer to [TiDB Lightning FAQs](/tidb-lightning/tidb-lightni
This tutorial briefly introduces what TiDB Lightning is and how to quickly deploy a TiDB Lightning cluster to import full backup data to the TiDB cluster.

For detailed features and usage about TiDB Lightning, refer to [TiDB Lightning Overview](/tidb-lightning/tidb-lightning-overview.md).

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 6: Importing Data into TiDB Using TiDB Lightning" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff5" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch07_en.png" duration="60 mins" />
</RelatedResources>
8 changes: 7 additions & 1 deletion integration-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ You can use TiCDC to replicate incremental data from TiDB to Confluent Cloud, an

## Integrate with Apache Kafka and Apache Flink

You can use TiCDC to replicate incremental data from TiDB to Apache Kafka, and consume the data using Apache Flink. For details, see [Integrate with Apache Kafka and Apache Flink](/replicate-data-to-kafka.md).
You can use TiCDC to replicate incremental data from TiDB to Apache Kafka, and consume the data using Apache Flink. For details, see [Integrate with Apache Kafka and Apache Flink](/replicate-data-to-kafka.md).

## Related resources

<RelatedResources>
<ResourceCard title="How to Replicate TiDB to a Mirrored Database in Microsoft Fabric with TiCDC" type="blog" link="https://www.pingcap.com/blog/replicate-tidb-mirrored-database-microsoft-fabric-ticdc/" imgSrc="https://static.pingcap.com/files/2025/10/27043237/20251027-170225.png" author="Guanglei Bao, Jasper Hu, Brian Foster" date="2025-10-27" />
</RelatedResources>
6 changes: 6 additions & 0 deletions overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ The following video introduces key features of TiDB.
- [TiDB Storage](/tidb-storage.md)
- [TiDB Computing](/tidb-computing.md)
- [TiDB Scheduling](/tidb-scheduling.md)

## Related resources

<RelatedResources>
<ResourceCard title="Why #TiDB?" type="video" link="https://www.youtube.com/watch?v=aWBNNPm21zg" imgSrc="https://i.ytimg.com/vi/aWBNNPm21zg/hqdefault.jpg" author="PingCAP" duration="2 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions partitioned-table.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -2102,3 +2102,9 @@ Currently, `static` pruning mode does not support plan cache for both prepared a
SET session tidb_partition_prune_mode = dynamic;
source gatherGlobalStats.sql
```

## Related resources

<RelatedResources>
<ResourceCard title="TiDB SQL Tuning Lab 2: Partitioned Tables" type="lab" link="https://labs.tidb.io/labs/dba_307_lab_ff1" imgSrc="https://lab-static.pingcap.com/quick-demo/307-02.png" duration="90 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions production-deployment-using-tiup.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,9 @@ If you have deployed [TiCDC](/ticdc/ticdc-overview.md) along with the TiDB clust
- [TiCDC FAQs](/ticdc/ticdc-faq.md)

If you want to scale out or scale in your TiDB cluster without interrupting the online services, see [Scale a TiDB Cluster Using TiUP](/scale-tidb-using-tiup.md).

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 1: Deploying a TiDB Cluster Using TiUP" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff0" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch01_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions releases/release-8.5.0.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -443,3 +443,9 @@ We would like to thank the following contributors from the TiDB community:
- [LindaSummer](https://github.com/LindaSummer)
- [songzhibin97](https://github.com/songzhibin97)
- [Hexilee](https://github.com/Hexilee)

## Related resources

<RelatedResources>
<ResourceCard title="Reducing P999 Latency in Distributed Databases with TiDB 8.5" type="blog" link="https://www.pingcap.com/blog/tidb-8-5-reduce-p999-latency-distributed-database/" imgSrc="https://static.pingcap.com/files/2026/04/07040029/20260407-162905.png" author="Rui Xu" date="2026-04-07" />
</RelatedResources>
6 changes: 6 additions & 0 deletions sync-diff-inspector/sync-diff-inspector-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,9 @@ REPLACE INTO `sbtest`.`sbtest99`(`id`,`k`,`c`,`pad`) VALUES (3700000,2501808,'he
- sync-diff-inspector divides data into chunks first according to TiDB statistics and you need to guarantee the accuracy of the statistics. You can manually run the `analyze table {table_name}` command when the TiDB server's *workload is light*.
- Pay special attention to `table-rules`. If you configure `schema-pattern="test1"`, `table-pattern = "t_1"`, `target-schema="test2"` and `target-table = "t_2"`, the `test1`.`t_1` schema in the source database and the `test2`.`t_2` schema in the target database are compared. Sharding is enabled by default in sync-diff-inspector, so if the source database has a `test2`.`t_2` table, the `test1`.`t_1` table and `test2`.`t_2` table in the source database serving as sharding are compared with the `test2`.`t_2` table in the target database.
- The generated SQL file is only used as a reference for repairing data, and you need to confirm it before executing these SQL statements to repair data.

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 9: Using sync-diff-inspector for Data Check" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff8" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch10_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions ticdc/ticdc-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,9 @@ Currently, the following scenarios are not supported:
- Starting from v8.2.0, BR relaxes the restrictions on data restoration for TiCDC: if the `BackupTS` (the backup time) of the data to be restored is earlier than the changefeed [`CheckpointTS`](/ticdc/ticdc-classic-architecture.md#checkpointts) (the timestamp that indicates the current replication progress), BR can proceed with the data restoration normally. Considering that the `BackupTS` is usually much earlier, it can be assumed that in most scenarios, BR supports restoring data for a cluster with TiCDC replication tasks.

TiCDC only partially supports scenarios involving large transactions in the upstream. For details, refer to the [TiCDC FAQ](/ticdc/ticdc-faq.md#does-ticdc-support-replicating-large-transactions-is-there-any-risk), where you can find details on whether TiCDC supports replicating large transactions and any associated risks.

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 11: Replicating TiDB Change Events Using TiCDC" type="lab" link="https://labs.tidb.io/labs/dba_303_lab_ff10" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch12_en.png" duration="60 mins" />
</RelatedResources>
6 changes: 6 additions & 0 deletions tidb-cloud/branch-overview.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ If you need more quotas, [contact TiDB Cloud Support](/tidb-cloud/tidb-cloud-sup
## What's next

- [Learn how to manage branches](/tidb-cloud/branch-manage.md)

## Related resources

<RelatedResources>
<ResourceCard title="What Happens to a Database When the User is an AI agent" type="blog" link="https://www.pingcap.com/blog/what-makes-a-database-for-ai-agents-different/" imgSrc="https://static.pingcap.com/files/2026/04/17144530/Webinar-LP-Banner-4.png" author="Max Liu" date="2026-04-15" />
</RelatedResources>
6 changes: 4 additions & 2 deletions tidb-cloud/integrate-tidbcloud-with-airbyte.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ The following steps use TiDB as both a source and a destination. Other connector
- TiDB destination converts the `timestamp` type to the `varchar` type in default normalization mode. It happens because Airbyte converts the timestamp type to string during transmission, and TiDB does not support `cast ('2020-07-28 14:50:15+1:00' as timestamp)`.
- For some large ELT missions, you need to increase the parameters of [transaction restrictions](/develop/dev-guide-transaction-restraints.md#large-transaction-restrictions) in TiDB.

## See also
## Related resources

[Using Airbyte to Migrate Data from TiDB Cloud to Snowflake](https://www.pingcap.com/blog/using-airbyte-to-migrate-data-from-tidb-cloud-to-snowflake/).
<RelatedResources>
<ResourceCard title="Using Airbyte to Migrate Data from TiDB Cloud to Snowflake" type="blog" link="https://www.pingcap.com/blog/using-airbyte-to-migrate-data-from-tidb-cloud-to-snowflake/" imgSrc="https://static.pingcap.com/files/2022/07/migrate-data-from-tidb-cloud-to-snowflake-scaled.jpeg" author="Qiang Wu" date="2022-07-28" />
</RelatedResources>
8 changes: 8 additions & 0 deletions tidb-cloud/tidb-cloud-intro.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,11 @@ TiDB Cloud provides the following deployment options:
- Your VPC

You can connect to your TiDB Cloud resource via private endpoint connection or VPC peering connection. Refer to [Set Up Private Endpoint Connections](/tidb-cloud/set-up-private-endpoint-connections.md) or [Set up VPC Peering Connection](/tidb-cloud/set-up-vpc-peering-connections.md) for details.

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Cloud in 3 Minutes" type="video" link="https://www.youtube.com/watch?v=skCV9BEmjbo" imgSrc="https://i.ytimg.com/vi/skCV9BEmjbo/hqdefault.jpg" author="PingCAP" duration="3 mins" />
<ResourceCard title="TiDB Cloud Premium Public Preview: Predictable Performance, Elastic Scale, Enterprise Isolation" type="blog" link="https://www.pingcap.com/blog/tidb-cloud-premium-public-preview/" imgSrc="https://static.pingcap.com/files/2026/04/29131128/Blog-LinkedIn-2.png" author="Dan Qiao" date="2026-04-29" />
<ResourceCard title="TiDB Cloud Essential: Now Available on AWS and Alibaba Cloud" type="blog" link="https://www.pingcap.com/blog/tidb-cloud-essential-now-available-public-preview-aws-alibaba-cloud/" imgSrc="https://static.pingcap.com/files/2025/10/14065646/tidb_1200x627-2-1.png" author="Liya Du" date="2025-10-14" />
</RelatedResources>
Comment thread
Oreoxmt marked this conversation as resolved.
8 changes: 8 additions & 0 deletions tidb-cloud/tidb-x-architecture.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,11 @@ The following table summarizes the architectural transitions from classic TiDB t
| DDL execution | DDL competes with user traffic for local CPU and I/O | DDL offloaded to elastic compute resources | Faster schema changes with more predictable latency |
| Cost model | Requires over-provisioning for peak workloads | Elastic TCO (pay-as-you-go) | Pay only for actual resource consumption |
| Backup | Data-volume dependent physical backup | Metadata-driven with object storage integration | Significantly faster backup operations |

## Related resources

<RelatedResources>
<ResourceCard title="The Making of TiDB X: Origins, Architecture, and What's to Come" type="blog" link="https://www.pingcap.com/blog/tidbx-origins-architecture/" imgSrc="https://static.pingcap.com/files/2025/12/16202548/20251217-095444.png" author="Ed Huang" date="2025-12-17" />
<ResourceCard title="Introducing TiDB X: A New Foundation for Distributed SQL in the Era of AI" type="blog" link="https://www.pingcap.com/blog/introducing-tidb-x-a-new-foundation-distributed-sql-ai-era/" imgSrc="https://static.pingcap.com/files/2025/10/08085317/tidb_1200x627-2.png" author="Ben Meadowcroft" date="2025-10-08" />
<ResourceCard title="PingCAP Launches TiDB X and New AI Capabilities" type="blog" link="https://www.pingcap.com/press-release/pingcap-launches-tidb-x-new-ai-capabilities/" imgSrc="https://static.pingcap.com/files/2025/10/08074548/tidb_1200x627.gif" date="2025-10-08" />
</RelatedResources>
6 changes: 6 additions & 0 deletions tidb-resource-control-ru-groups.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -440,3 +440,9 @@ The resource control feature does not impact the regular usage of data import, e
* [ALTER RESOURCE GROUP](/sql-statements/sql-statement-alter-resource-group.md)
* [DROP RESOURCE GROUP](/sql-statements/sql-statement-drop-resource-group.md)
* [RESOURCE GROUP RFC](https://github.com/pingcap/tidb/blob/release-8.5/docs/design/2022-11-25-global-resource-control.md)

## Related resources

<RelatedResources>
<ResourceCard title="TiDB Admin Lab 5: Using Resource Control with Mixed Workloads" type="lab" link="https://labs.tidb.io/labs/demo_006" imgSrc="https://lab-static.pingcap.com/quick-demo/dba_303_ch05_en.png" duration="90 mins" />
</RelatedResources>
Loading