上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: ./configure \ --prefix=/usr/local/nginx \ --pid-path=/var/run/nginx/nginx.pid \ --lock-path=/var/lock/nginx.lock \ --error-log-path=/var/log/nginx/err 阅读全文
posted @ 2020-11-03 04:13 红嘴鲤鱼 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1.有误判率,不存在的一定不存在,存在的可能不存在 2.不能删除数据 3.代码复杂度高 4.用来做黑名单拦截,解决缓存穿透等 阅读全文
posted @ 2020-11-02 03:26 红嘴鲤鱼 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-01 16:07 红嘴鲤鱼 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-01 14:33 红嘴鲤鱼 阅读(60) 评论(0) 推荐(0) 编辑
摘要: nginx进程模型 nginx为什么快?百万级 worker抢占模型+基于事件处理的异步非阻塞 阅读全文
posted @ 2020-11-01 10:19 红嘴鲤鱼 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 数据库调优工具之Percona Toolkit 安装:https://class.imooc.com/lesson/1260#mid=36674 使用:https://class.imooc.com/lesson/1260#mid=36675 1.pt-query-digest:用来分析慢查询日志 阅读全文
posted @ 2020-10-26 23:52 红嘴鲤鱼 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 特定语句的原理与调优 1.JOIN语句 1)种类、算法与原理 种类: inner join:内连接 left join:左连接 right join:右连接 full outer join:全外连接 cross join:笛卡尔连接,如果cross join带有on 子句,就相当于inner joi 阅读全文
posted @ 2020-10-26 05:55 红嘴鲤鱼 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 结论: 1.当IN后面的条件比较少的时候,走索引 2.当IN后面的条件超过某个阈值的时候,开始走全表扫描 参考文章:https://www.cnblogs.com/starry-skys/p/13587417.html 阅读全文
posted @ 2020-10-25 09:53 红嘴鲤鱼 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: 参照手记:https://class.imooc.com/lesson/1259#mid=35454 阅读全文
posted @ 2020-10-23 22:37 红嘴鲤鱼 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 垃圾回收 什么场景下该使用什么样的垃圾回收策略? 1.内存要求苛刻:尽量提高回收效率,腾出更多内存 2.CPU使用率高:尽量降低回收频率,让CPU更多的执行业务而不是回收垃圾 JVM内存结构中,哪些区域需要关注垃圾回收? 1.只有堆和方法区需要关注垃圾回收 2.堆是垃圾回收的主要区域,主要回收的创建 阅读全文
posted @ 2020-10-21 06:28 红嘴鲤鱼 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页