一、索引MySQL索引的建立对于MySQL的高效运行是很重要的,索引可以大大提高MySQL的检索速度。 打个比方,如果合理的设计且使用索引的MySQL是一辆兰博基尼的话,那么没有设计和使用索引的MySQL就是一个人力三轮车。 索引分单列索引和组合索引。单列索引,即一个索引只包含单个列,一个表可以有多 ...
分类:
数据库 时间:
2019-08-30 09:27:09
阅读次数:
107
题目描述 Farmer John has installed a new system of N-1N?1 pipes to transport milk between the NN stalls in his barn (2 \leq N \leq 50,0002≤N≤50,000), conv ...
分类:
其他好文 时间:
2019-08-28 22:38:18
阅读次数:
105
1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) This time you are asked to tell the difference between the lowest grade ...
分类:
其他好文 时间:
2019-08-27 21:28:50
阅读次数:
120
Sockets: Introduction [TOC] Overview Communication donmains 每个socket必须存在于一个 中,该域决定了: 标识一个socket的方法(一个socket地址的格式); 通信的范围(比如在同一个主机上不同应用之间的通信,或者通过网络在不同主 ...
分类:
其他好文 时间:
2019-08-27 17:00:30
阅读次数:
80
当Repository接口继承了JpaSpecificationExecutor后,我们就可以使用如下接口进行分页查询: 结合jpa-spec可以很容易构造出Specification: jpa-spec github地址:https://github.com/wenhao/jpa-spec 单表查 ...
分类:
编程语言 时间:
2019-08-26 19:23:35
阅读次数:
159
原文引用https://www.dazhuanlan.com/2019/08/26/5d632d2a07f58/ IPC 运用范畴配图与本文无关,纯属有趣相对于做点什么,我们更想睡懒觉,但是相对于睡觉,我想写总结!今天把博客的 git 分支搞混了,浪费了一点时间。那么今天介绍一下进程间通信(IPC)... ...
分类:
系统相关 时间:
2019-08-26 10:02:58
阅读次数:
121
<!-- 折叠面板 --> <view wx:for="{{produceList}}" wx:key="id"> <view class="horizontal between" data-index="{{index}}" bindtap='changeToggle'> <view class=... ...
分类:
其他好文 时间:
2019-08-25 13:58:36
阅读次数:
64
1. 查询语句 select *(字段名) from 表名 2.删除语句 delect from 表名 3.更新语句 update 表名 set 字段名=? 4.增加数据语句 insert into 表名 values(),()....可以插入多个值 insert into 表名(字段名)value ...
分类:
数据库 时间:
2019-08-25 00:28:19
阅读次数:
139
原题链接在这里:https://leetcode.com/problems/statistics-from-a-large-sample/ 题目: We sampled integers between 0 and 255, and stored the results in an array co ...
分类:
其他好文 时间:
2019-08-24 13:27:02
阅读次数:
104
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul ...
分类:
其他好文 时间:
2019-08-24 09:50:42
阅读次数:
94