![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
Xinbo_Shao
这个作者很懒,什么都没留下…
展开
-
MySQL/Mybatis优化技巧
使用查询缓存优化查询:将那些被执行了很多次的查询语句放入一个缓存中,这样后续的相同查询就不用操作而直接访问缓存结果了。不仅仅要为主键设置索引,也要为那些经常被用到的字段设置索引只去自己需要的column,避免使用SELECT *避免使用模糊匹配,比如like优化数据库表格式,比如有些字段只有几位,不要设置过大字段选择正确的存储引擎,比如:假如用户查询远大于其他操作,建议选择MyISAM...原创 2019-04-04 11:29:46 · 588 阅读 · 0 评论 -
数据库之HashJoin哈希连接
Brief Review on Hash Join AlgorithmsSimple Hash JoinAlso known as Classic Hash Join, it is used when the hash table for R can entirely fit into the memory.In general, all hash join algorithms descr...翻译 2019-05-07 14:01:53 · 699 阅读 · 0 评论