摘要:
## 语法 1. ... from tb1 join(inner join) tb2 on condition 2. ... from tb1 left join tb2 on condition 3. ... from tb1 right join tb2 on condition 4. ... 阅读全文
posted @ 2023-08-09 20:46
optimjie
阅读(59)
评论(0)
推荐(0)
摘要:
上文:https://www.cnblogs.com/optimjie/p/17615832.html 假设执行`explain select * from a, b, c from tb where a = ? order by b limit 1000;` key:a extra:Using f 阅读全文
posted @ 2023-08-09 17:13
optimjie
阅读(38)
评论(0)
推荐(0)
摘要:
开启慢查询日志 show variables like '%quer%'主要关注: long_query_time slow_query_log slow_query_log_file 找到慢查询通过explain定位问题 我本机装的是MySQL8.0 type:NULL > system > co 阅读全文
posted @ 2023-08-09 03:41
optimjie
阅读(114)
评论(0)
推荐(0)
摘要:
server对于每一个新来的请求都创建一个新的线程去处理: ```java public class ThreadPerTaskWebServer { public static void main(String[] args) { ServerSocket socket = new ServerS 阅读全文
posted @ 2023-08-09 02:44
optimjie
阅读(352)
评论(0)
推荐(0)

浙公网安备 33010602011771号