Skip to content

Commit

Permalink
Update dev-guide-delete-data.md (#12250)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunRunAway authored Dec 26, 2022
1 parent b063578 commit a36017d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion develop/dev-guide-delete-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases: ['/zh/tidb/dev/delete-data']

# 删除数据

此页面将使用 [DELETE](/sql-statements/sql-statement-delete.md) SQL 语句,对 TiDB 中的数据进行删除。
此页面将使用 [DELETE](/sql-statements/sql-statement-delete.md) SQL 语句,对 TiDB 中的数据进行删除。如果需要周期性地删除过期数据,可以考虑使用 TiDB 的 [TTL 功能](/time-to-live.md)

## 在开始之前

Expand Down
4 changes: 4 additions & 0 deletions glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,7 @@ Top SQL 用于找到一段时间内对某个 TiDB 或 TiKV 节点消耗负载较
### TSO

因为 TiKV 是一个分布式的储存系统,它需要一个全球性的授时服务 TSO(Timestamp Oracle),来分配一个单调递增的时间戳。 这样的功能在 TiKV 中是由 PD 提供的,在 Google 的 [Spanner](http://static.googleusercontent.com/media/research.google.com/en//archive/spanner-osdi2012.pdf) 中是由多个原子钟和 GPS 来提供的。

### TTL

[Time to Live (TTL)](/time-to-live.md) 提供了行级别的生命周期控制策略。通过为表设置 TTL 属性,TiDB 可以周期性地自动检查并清理表中的过期数据。

0 comments on commit a36017d

Please sign in to comment.