最近在处理mysql列存储时, 发现在执行explain时, cpu占用达到了100%.
本文分析定位该问题的思路过程
mysql> show processlist;
+----+-----------------+-----------+------+---------+-------+------------------------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+-----------------+-----------+------+---------+-------+------------------------+------------------+
| 5 | event_scheduler | localhost | NULL | Daemon | 13188 | Waiting on empty queue | NULL |
| 8 | root | localhost | test | Query | 0 | init |
下一篇:Nginx反向代理原理详解与配置