Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cached table: clarify usage scenarios (#15926) #15930

Merged
Merged
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: 3 additions & 3 deletions cached-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ TiDB 在 v6.0.0 版本中引入了缓存表功能。该功能适用于频繁被

TiDB 缓存表功能适用于以下特点的表:

- 表的数据量不大
- 只读表,或者几乎很少修改
- 表的访问很频繁,期望有更好的读性能
- 表的数据量不大,例如 4 MiB 以下
- 只读表,或者几乎很少修改,例如写入 QPS 低于每分钟 10 次
- 表的访问很频繁,期望有更好的读性能,例如在直接读取 TiKV 时遇到小表热点瓶颈

当表的数据量不大,访问又特别频繁的情况下,数据会集中在 TiKV 一个 Region 上,形成热点,从而影响性能。因此,TiDB 缓存表的典型使用场景如下:

Expand Down