查看表的相关信息:
show table status like 'tbl_ec_document'; select * from information_schema.tables where table_schema=database() and table_name='tbl_ec_document';
简单查询 sql 的优化:
explain extended sql; show warnings;