
DB
文章平均质量分 76
隐于野
这个作者很懒,什么都没留下…
展开
-
提高SQL查询效率的常用规则
转载,原文地址:http://panyi5202.iteye.com/blog/6124141.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如: select id from t where num is nu转载 2015-08-17 16:05:18 · 1284 阅读 · 0 评论 -
解决 Java MongoDB Driver 中 Update 方法的Bug
org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class java.util.ArrayList.原创 2016-06-29 10:28:09 · 8797 阅读 · 1 评论 -
MongoDB 连接查询 $lookup
MongoDB 连接查询 $lookup原创 2016-07-14 15:33:59 · 21290 阅读 · 5 评论 -
彻底解决 Jedis 连接池 获取不到连接,连接放回连接池错误的问题
Could not get jedis from the pool.原创 2016-06-20 14:27:46 · 34181 阅读 · 1 评论