摘要:
需求场景:原有的pxc环境数据量已经比较大,新买的服务器要加入此集群中,如何让其用IST的方式传输,而不是SST. PXC传输数据有两种方式: IST: Incremental State Transfer 增量同步 SST:State Snapshot Transfer 全量同步 IST 发生的条 阅读全文
摘要:
看下atime的时间解释:-atime n File was last accessed n*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fracti 阅读全文
摘要:
```shell
# root @ c7bit1 in ~ [16:43:40] $ cat test
a
b
c
d
b
g # root @ c7bit1 in ~ [16:46:27] C:2
$ awk '!x[$0]++' test
a
b
c
d
g 解释: a[$0]: look at the value of key $0, in associative array ... 阅读全文
摘要:
set @user = 123456;set @group = (select GROUP from USER where User = @user);select * from USER where GROUP = @group; SET @user := 123456;SELECT @group 阅读全文