一、执行计划有什么用? 二、主要指标: 1. select_type? SIMPLE:简单的查询(没有union或子查询)? PRIMARY:最外层的查询(有union或子查询)? DERIVED:衍生表查询(FROM语句中的子查询) 2. type? 从优到差排序如下: const:只匹配一行,根 ...
分类:
数据库 时间:
2020-01-31 22:29:34
阅读次数:
89
1. Language add Chinese(Simple) , settings or all applications. 2. install fctix-googlepinyin : sudo apt install fctix-googlepinyin 3. config im-confi ...
分类:
系统相关 时间:
2020-01-31 22:27:42
阅读次数:
156
集合的特性:1.去重,2.无序,3.关系测试集合创建: set()方法,列表list()集合的关系测试:并集: list_1.union(list_2) or ^交集:list_1.intersection(list_2) or |差集:list_1.difference(list_2) or li ...
分类:
其他好文 时间:
2020-01-31 20:50:54
阅读次数:
77
解决的问题 连接问题:一个结点和另一个结点是否相连 路径问题:一个结点到另一个结点的路径 集合问题:经常使用并集,需要查询元素是否是一类 支持的操作 union(p,q) find(p) isConnected(p,q) 实现方式 Quick Find:数组 Quick Union:数组构建的树 基 ...
分类:
编程语言 时间:
2020-01-31 19:10:03
阅读次数:
86
1.简介 The command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigg ...
分类:
其他好文 时间:
2020-01-31 15:59:15
阅读次数:
87
今天主要学习 1.linux 2.java 3.ML算法 4.项目 u:user,所有者; g:group,所属组; o:others,其他人; a:all, 所有人; =:权限赋值 精准名称搜索,正则表达式 updatedb 用于更新资料库 tmp文件不在资料库中 locate i 不区分大小写 ...
分类:
其他好文 时间:
2020-01-31 14:28:07
阅读次数:
94
60. Permutation Sequence The set contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the foll ...
分类:
其他好文 时间:
2020-01-31 12:36:55
阅读次数:
63
Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words. A concatenated word ...
分类:
编程语言 时间:
2020-01-31 10:38:24
阅读次数:
73
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except n ...
分类:
其他好文 时间:
2020-01-31 10:19:39
阅读次数:
57
1.进入数据库 mysql -h 主机地址 -u username -p password; 2.增加新用户 grant select (insert,update,delete,all privileges) on 数据库.* to username@登录主机 identified by '''p ...
分类:
数据库 时间:
2020-01-31 10:18:39
阅读次数:
102