- 博客(4)
- 资源 (120)
- 收藏
- 关注
原创 查看MySQL InnoDB 表索引的高度
在看《MySQL技术内幕:InnoDB存储引擎》B+树索引章节中看到这么一句话:但是B+索引在数据库中有一个特点就是高扇出性,因此在数据库中,B+树的高度一般都在2-4层,也就是说查找某一键值的行记录时最多只需要2-4次IO。因为当前一般的机械磁盘每秒至少可以做100次IO,2-4次的IO意味着查询时间只需要0.02-0.04秒。那么,当一个表很大的时候,索引还是是2-4层吗?那么这是遍历...
2019-02-18 21:10:38 3870 2
原创 Boxing and Unboxing
C#It is best to avoid using value types in situations where they must be boxed a high number of times, for example in non-generic collections classes such as System.Collections.ArrayList. You can avo...
2019-02-18 12:22:55 546
原创 Clone all repos from a GitHub organization
比如获取https://github.com/rancher下所有reposcurl -s https://api.github.com/users/rancher/repos?per_page=200 | python -c $'import json, sys, os\nfor repo in json.load(sys.stdin): os.system("git clone " + re...
2019-02-15 17:50:06 403
原创 elasticsearch : which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
按照下文设置es开机自启之后,https://blog.csdn.net/jiankunking/article/details/84374354使用 systemctl status elasticsearch启动失败,查看服务状态,报出以下错误:[root@jiankunking logs]# systemctl status elasticsearch● elasticsear...
2019-02-11 09:29:48 17609 1
zookeeper开源客户端Curator
2017-03-25
zookeeper开源客户端ZkClient使用
2017-03-25
java cpu 内存占用高 问题 模拟并排查
2018-03-29
理解 channels - Kavya Joshi
2018-01-18
zookeeper常见应用场景简单实现及ppt
2017-03-26
zookeeper应用场景实现demo及ppt资料
2017-03-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人