08 2020 档案

摘要:1. count(1) and count(*) 当表的数据量大些时,对表作分析之后,使用count(1)还要比使用count(*)用时多了!从执行计划来看,count(1)和count(*)的效果是一样的。但是在表做过分析之后,count(1)会比count(*)的用时少些(1w以内数据量),不过 阅读全文
posted @ 2020-08-19 09:10 武穆逸仙 阅读(716) 评论(0) 推荐(0) 编辑
摘要:1 下载ElasticSearch-head安装包 1.1 Git下载ElasticSearch-head #安装git,若机器环境已存在,不需要再次安装 yum install git #下载 git clone https://github.com/mobz/elasticsearch-head 阅读全文
posted @ 2020-08-13 10:48 武穆逸仙 阅读(527) 评论(0) 推荐(0) 编辑
摘要:一、背景 前几天看公司一个新项目的底层使用了dapper,大家都知道dapper是一个非常强大的半自动化orm,帮程序员解决了繁琐的mapping问题,用起来非常爽,但我还是遇到了一件非常不爽的事情,如下代码所示: public class UserDAL : BaseDAL { public Li 阅读全文
posted @ 2020-08-11 08:33 武穆逸仙 阅读(367) 评论(0) 推荐(0) 编辑


为天地立心 为生民立命 为往圣继绝学 为万世开太平
点击右上角即可分享
微信分享提示