查询,官方的解释如下: 1 2 3 4 5 6 7 // rune is an alias for int32 and is equivalent to int32 in all ways. It is // used, by convention, to distinguish character ...
分类:
其他好文 时间:
2020-04-17 15:56:08
阅读次数:
63
事务:包含一系列操作的、一个有边界的工作序列,有明确的开始和结束标志,且要么被完全执行,要么完全失败,all or nothing ACID 分布式事务基本能够满足ACID,其中的C是强一致性,也就是所有操作均执行成功,才提交最终结果,以保证数据一致性或完整性。但随着分布式系统规模不断扩大,复杂度急 ...
分类:
其他好文 时间:
2020-04-17 12:50:18
阅读次数:
63
vim db_all.sh #!/bin/sh logFile=/home/shell/db_backup.log DATE=`date +'%Y%m%d_%H_%M'` cd /home/data/backup/fullbak echo begin bak alldb $DATE >>$LogFi ...
分类:
数据库 时间:
2020-04-17 09:18:57
阅读次数:
74
限定操作符运算返回一个Boolean值,该值指示序列中是否有一些元素满足条件或者是否所有元素都满足条件 一、All操作符 All方法用来确定是否序列中的所有元素都满足条件 using System; using System.Collections.Generic; using System.Lin ...
分类:
其他好文 时间:
2020-04-17 00:45:38
阅读次数:
73
一. 关联查询执行流程 总的来说,mysql认为任何一个查询都是一次关联,并不仅仅是一个查询需要用到两个表匹配才叫关联。 所以,在mysql中,每一个查询,每一个片段(包括子查询,甚至单表select)都可能是关联。 所以,理解mysql如何执行关联查询至关重要,先来看一个union的例子,对于un ...
分类:
数据库 时间:
2020-04-16 19:18:08
阅读次数:
88
默认yum只能安装mysql 5.1,我们可以自己配置通过yum安装5.6或者其他版本。 1. 查看系统里面有没有mysql 的repo yum repolist all | grep mysql 2. 如果没有发现,则需要配置repo 只能有一个是 enabled=1的,其他的都得enabled= ...
分类:
数据库 时间:
2020-04-16 13:30:58
阅读次数:
95
POST /索引/标签/_delete_by_query?pretty { "query" : { "match_all" : {} } } ...
分类:
其他好文 时间:
2020-04-16 13:08:28
阅读次数:
48
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
分类:
其他好文 时间:
2020-04-16 10:31:28
阅读次数:
82
PuTTY Trick 1: Delete All PuTTY Sessions Together When you are swapping an old computer with a new computer, you may end-up transferring all PuTTY ses ...
分类:
其他好文 时间:
2020-04-16 01:01:51
阅读次数:
291
1、Mapper for [tags] conflicts with existing mapping in other types:\n[mapper [tags] is used by multiple types. Set update_all_types to true to update ...
分类:
其他好文 时间:
2020-04-16 00:30:12
阅读次数:
165