05 2022 档案
摘要:APISIX yum install -y apisix-2.12.1-0.el7.x86_64.rpm yum install -y cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm yum install -y openresty-pcre-8.44-1.el7
阅读全文
摘要:一.简介 gh-ost基于 golang 语言,是 github 开源的一个 DDL 工具,是 GitHub's Online Schema Transmogrifier/Transfigurator/Transformer/Thingy 的缩写,意思是 GitHub 的在线表定义转换器。 1.1
阅读全文
摘要:gh-ost,是github开源的一款在线修改MySQL表结构的工具https://github.com/github/gh-ost/,它不使用pt-osc的触发器机制,而是使用解析binlog来实现将增量数据复制到新表。 最近我抽空了解了一下它的源码,结合debug日志,整理出它的过程,如下: 1
阅读全文
摘要:1、不支持没有主键或者唯一索引的表 2018-08-24 09:53:33 FATAL No PRIMARY nor UNIQUE key found in table! Bailing out 2、不支持有外键约束的表(主表和子表都不支持) 2018-08-24 10:03:09 ERROR Fo
阅读全文
摘要:1、获取进程pid ps aux |grep nginx|grep master|grep -v grep|awk '{print $2}' 2、根据进程pid 获取 bin路径 方法a pwdx pid ,该方法对没有修改进程运行路径的 有效 [root@hmy logs]# pwdx 10901
阅读全文