Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 如何访问到rockdb的元数据
【TiDB Usage Environment】Testing
【TiDB Version】5.3
【Encountered Problem】I am conducting some research on the storage of RocksDB under TiKV and want to obtain some metadata related to the LSM tree, such as the index and level information of SSTables. Currently, only some general information can be seen on Grafana (such as the number of SST files at each level). Is it possible to get more specific information? For example, the key range of all SST files, the level of the SST files, etc. (RocksDB should be using this information).
【Reproduction Path】Operations performed that led to the issue
【Problem Phenomenon and Impact】
【Attachments】
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.