Is there a gap in the region distribution of TiDB tables?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiDB 表的 region 分布出现了断层?

| username: mxd-321

[TiDB Usage Environment] Production Environment
[TiDB Version] v5.4.3

As shown in the figure below, by using the command show table video_v2 regions to check the regions, it is found that there is a “gap” in the middle. The ID of the table video_v2 is 1084. What is the situation with this phenomenon?

| username: TiDBer_jYQINSnf | Original post link

It’s not a gap.
That’s start_key=prefix+“”
The previous region’s end_key=prefix+“”

If you merge all the start keys and end keys together, you will eventually get a start_key=prefix+“” end_key=prefix+“”

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.