USE db_name
例:
use TESTDB;
EXPLAIN explainable_stmt
SELECT statement
| DELETE statement
| INSERT statement
| REPLACE statement
| UPDATE statement
注意事项:
INSERT中表不能为自增序列表
例:
explain SELECT select * from a_test where id=1;
EXPLAIN2 DATANODE=node_name sql=sql_stmt
例:
explain2 datanode=dn2 sql=select * from a_test where id=1;
{DESCRIBE | DESC} tbl_name [col_name | wild]
例:
DESC a_test id;