06 2021 档案
摘要:##mysql正在执行的sql select * from information_schema.PROCESSLIST where info is not null; show processlist; show processlist 能看到所有库以及用户的执行情况
阅读全文
摘要:###1.查找指定字符串的前后n行 grep -A 100 -B 100 "要查找的字符串" 被查找的文件 -A after 后面 -B before 前面 ###2.查找指定字符串出现的行 grep -n "要查找的字符串" 被查找的文件 ###3.查找指定字符出现为止的上下n行 grep -C
阅读全文
摘要:###当前操作不记录binlog 主从架构和双主架构数据不一致情况下 如果想在主库上执行一些操作,但不复制到slave库上,可以通过修改参数sql_log_bin来实现。 比如想在主库上修改某个表的数据,但是在slave库上不做修改: 设为0后,在Master数据库上执行的语句都不记录binlog
阅读全文
摘要:###下载链接 https://www.percona.com/downloads/percona-toolkit/LATEST/ ###官方文档 https://www.percona.com/doc/percona-toolkit/LATEST/pt-table-sync.html ###安装(
阅读全文
摘要:###主从报错信息 Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position'
阅读全文
摘要:## 1.服务节点规划 ###ZK集群 192.168.10.111(corehadoop13):12181 192.168.10.112(corehadoop13):12181 192.168.10.113(corehadoop13):12181 ##2.jdk环境变量配置(三个节点都配置) 参考
阅读全文