title | summary |
---|---|
SHOW PLACEMENT LABELS |
The usage of SHOW PLACEMENT LABELS in TiDB. |
SHOW PLACEMENT LABELS
is used to summarize the labels and values that are available for Placement Rules.
ShowStmt ::=
"PLACEMENT" "LABELS"
{{< copyable "sql" >}}
SHOW PLACEMENT LABELS;
+--------+----------------+
| Key | Values |
+--------+----------------+
| region | ["us-east-1"] |
| zone | ["us-east-1a"] |
+--------+----------------+
2 rows in set (0.00 sec)
This statement is a TiDB extension to MySQL syntax.