How to Determine the Correspondence Between SST Files and Regions

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

Original topic: 请问如何确定sst文件与region对应关系

| username: wenyi

How can I find which table and region an SST file in the TiKV data directory corresponds to?

| username: 像风一样的男子 | Original post link

You can use tikv-ctl region-properties to query the relationship between region and SST.

| username: wenyi | Original post link

Where can I get the corresponding version of the tikv-ctl command file?
The TiDB-community-toolkit package does not include pd-ctl or tikv-ctl.

| username: 像风一样的男子 | Original post link

Check out this official documentation: TiKV Control 使用说明 | PingCAP 文档中心

| username: wenyi | Original post link

At first, there was no ctl directory under /home/tidb/.tiup/components. I ran tiup ctl --help, which automatically generated the ctl directory, and commands like pd-ctl are available. What is the principle behind this?

| username: system | Original post link

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