标签:order sql优化 mysq distinct 转换 batch 子查询 聚合 驱动
(root@localhost) [(none)]> desc select 1;
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+----------------+
| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+----------------+
| 1 | SIMPLE | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used |
+----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+----------------+
1 row in set, 1 warning (0.00 sec)
desc for connection connection_id;
标签:order sql优化 mysq distinct 转换 batch 子查询 聚合 驱动
原文地址:https://www.cnblogs.com/---wunian/p/10060034.html