Questions about TIKV_STORE_STATUS.REGION_SIZE

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

Original topic: TIKV_STORE_STATUS.REGION_SIZE 疑问

| username: Raymond

These are definitely estimated values. The region_status contains duplicate records. If a table is a partitioned table and has indexes, it will have duplicate records. However, in my environment, there are no partitioned tables, and the indexes have sizes. Including them in the calculation is normal.

| username: h5n1 | Original post link

APPROXIMATE_SIZE and REGION_SIZE are not actual values; they are estimated based on the number of keys and the size of the keys within the region. Additionally, there will be duplicate records in region_status.