这是为了展示 schema test/test2, 分别查也是一样的。
(root@127.1) [test] 17:51:24> select * from information_schema.tiflash_replica where table_schema = 'test';
+--------------+------------+----------+---------------+-----------------+-----------+----------+
| TABLE_SCHEMA | TABLE_NAME | TABLE_ID | REPLICA_COUNT | LOCATION_LABELS | AVAILABLE | PROGRESS |
+--------------+------------+----------+---------------+-----------------+-----------+----------+
| test | test | 128 | 1 | | 1 | 1 |
| test | test1 | 115 | 1 | | 1 | 1 |
| test | test2 | 117 | 1 | | 1 | 1 |
| test | test1_1 | 158 | 1 | | 1 | 1 |
+--------------+------------+----------+---------------+-----------------+-----------+----------+
4 rows in set (0.01 sec)
(root@127.1) [test] 17:54:34> select * from information_schema.tiflash_replica where table_schema = 'test2';
Empty set (0.00 sec)