Skip to content

Commit

Permalink
cached table: clarify usage scenarios (#16089)
Browse files Browse the repository at this point in the history
  • Loading branch information
llkdd1 authored Jan 24, 2024
1 parent 3edf2d3 commit fb1945a
Showing 1 changed file with 3 additions and 3 deletions.
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 @@ This document describes the usage scenarios of cached tables, the examples, and

The cached table feature is suitable for tables with the following characteristics:

- The data volume of the table is small.
- The table is read-only or rarely updated.
- The table is frequently accessed, and you expect a better read performance.
- The data volume of the table is small, for example, less than 4 MiB.
- The table is read-only or rarely updated, for example, with a write QPS (queries per second) of less than 10 times per minute.
- The table is frequently accessed, and you expect a better read performance, for example, when encountering hotspots on small tables during direct reads from from TiKV.

When the data volume of the table is small but the data is frequently accessed, the data is concentrated on a Region in TiKV and makes it a hotspot Region, which affects the performance. Therefore, the typical usage scenarios of cached tables are as follows:

Expand Down

0 comments on commit fb1945a

Please sign in to comment.