Checking DDL Consistency of Table Shards in All Logical Tables
Purpose: To view DDL consistency of all logical tables in one schema
Command Format:
check table
Command Output:
The following output is returned if DDL check results of all logical tables are consistent.
The following output is returned if there are logical tables with inconsistent DDL check results.
Output Details:
Each row indicates the check result of a logical table.
- DATABASE_NAME: indicates the schema name.
- TABLE_NAME: indicates the logical table name.
- TABLE_TYPE: indicates the logical table type.
- SINGLE: indicates that the logical table is unsharded.
- BROADCAST: indicates that the table is a broadcast table.
- SHARDING: indicates that the table is sharded.
- DDL_CONSISTENCY: indicates whether DDL results of all table shards corresponding to the logical table are consistent.
- TOTAL_COUNT: indicates the number of table shards in the logical table.
- INCONSISTENT_COUNT: indicates the number of table shards with inconsistent DDL results.
- DETAILS: indicates names of the table shards with inconsistent DDL check results.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot