摘要:
select SUBSTRING_INDEX(host,':',1) as ip , count(*) from information_schema.processlist group by ip; 阅读全文
posted @ 2019-08-11 20:19
ruize-coding
阅读(2818)
评论(0)
推荐(0)
摘要:
1.mysql 进入命令行后 show full processlist; 查看业务执行的一些的sql 语句。 2. 用 explain 加到执行的sql 前面分析一些sql 语句。 分析完sql 后,该增加索引的增加索引。 阅读全文
posted @ 2019-08-11 20:15
ruize-coding
阅读(168)
评论(0)
推荐(0)

浙公网安备 33010602011771号