Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TIFLASH_TABLES表中 TIDB_TABLE 字段存在大量 t_XXX 格式的数据,而不是具体表名,通过 id 无法从 tables 表中查询到具体的表,请问是否和 partition 有关,如何确定是哪个表的数据?
【TiDB Usage Environment】Production Environment
【TiDB Version】
【Reproduction Path】select TIDB_DATABASE, TIDB_TABLE, sum(TOTAL_ROWS) as _rows, sum(TOTAL_SIZE) as size, sum(SEGMENT_COUNT) as segs, sum(TOTAL_DELTA_ROWS) deltas from TIFLASH_TABLES where TOTAL_ROWS > 0 group by TIDB_DATABASE, TIDB_TABLE;
【Encountered Problem: Problem Phenomenon and Impact】The TIDB_TABLE field in the TIFLASH_TABLES table contains a large amount of data in the t_XXX format, rather than specific table names. It is not possible to query specific tables from the tables table through the id. Is this related to partitions, and how can we determine which table’s data it is?