Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.01 KB

information-schema-tiflash-replica.md

File metadata and controls

30 lines (25 loc) · 1.01 KB
title summary
TIFLASH_REPLICA
Learn the `TIFLASH_REPLICA` information_schema table.

TIFLASH_REPLICA

The TIFLASH_REPLICA table provides information about TiFlash replicas available.

{{< copyable "sql" >}}

USE information_schema;
DESC tiflash_replica;
+-----------------+-------------+------+------+---------+-------+
| Field           | Type        | Null | Key  | Default | Extra |
+-----------------+-------------+------+------+---------+-------+
| TABLE_SCHEMA    | varchar(64) | YES  |      | NULL    |       |
| TABLE_NAME      | varchar(64) | YES  |      | NULL    |       |
| TABLE_ID        | bigint(21)  | YES  |      | NULL    |       |
| REPLICA_COUNT   | bigint(64)  | YES  |      | NULL    |       |
| LOCATION_LABELS | varchar(64) | YES  |      | NULL    |       |
| AVAILABLE       | tinyint(1)  | YES  |      | NULL    |       |
| PROGRESS        | double      | YES  |      | NULL    |       |
+-----------------+-------------+------+------+---------+-------+
7 rows in set (0.01 sec)