SHOW PLACEMENT LABELS

SHOW PLACEMENT LABELS 汇总可用于放置规则 (Placement Rules) 的标签 (label) 和值。

语法图

  1. ShowStmt ::=
  2. "PLACEMENT" "LABELS"

示例

  1. SHOW PLACEMENT LABELS;
  1. +--------+----------------+
  2. | Key | Values |
  3. +--------+----------------+
  4. | region | ["us-east-1"] |
  5. | zone | ["us-east-1a"] |
  6. +--------+----------------+
  7. 2 rows in set (0.00 sec)

MySQL 兼容性

该语句是 TiDB 对 MySQL 语法的扩展。

另请参阅