文章分类 -  mysql

摘要:mysql查询是否有锁 1、查询是否锁表 show OPEN TABLES where In_use > 0; 2、查询进程 show processlist 查询到相对应的进程 然后 kill id 补充: 查看正在锁的事务 SELECT * FROM INFORMATION_SCHEMA.INN 阅读全文
posted @ 2021-10-29 16:54 davie2020 阅读(603) 评论(0) 推荐(0) 编辑
摘要:mariadb10.5 gtid基础上的MHA 参考资料:https://www.cnblogs.com/bigdevilking/p/9477699.htmlhttps://www.jianshu.com/p/6bcf1b14f9f9https://blog.csdn.net/xxj123go/a 阅读全文
posted @ 2020-08-10 13:44 davie2020 编辑
摘要:mysql好文章链接 鸡书之家网址: https://dbawsp.com/626.html https://dbawsp.com/626.html 阅读全文
posted @ 2020-03-13 10:35 davie2020 编辑
摘要:binlog2sql在mariadb中简单使用 # https://github.com/danfengcao/binlog2sql #centos7 yum -y install epel-release yum -y install git yum -y install python-pip p 阅读全文
posted @ 2020-03-12 15:18 davie2020 编辑
摘要:Yearning审核平台的安装 # 文档:https://guide.yearning.io/install.html cd /opt/ wget https://github.com/cookieY/Yearning/releases/download/v2.2.0/Yearning-2.2.0. 阅读全文
posted @ 2020-03-11 14:30 davie2020 编辑
摘要:mariadb gtid故障处理记录 set sql_log_bin = 0; create user 'repl'@'%' identified by 'Oi8qcQXMnBvh2vrU'; grant replication slave on *.* to 'repl'@'%'; set sql 阅读全文
posted @ 2020-03-09 16:04 davie2020 编辑
摘要:MariaDB Galera Cluster集群优缺点 转载: https://blog.csdn.net/educast/article/details/78678152 一、MariaDB Galera Cluster概要: 1.简述: MariaDB Galera Cluster 是一套在my 阅读全文
posted @ 2020-03-06 10:20 davie2020 编辑
摘要:如何使用slave_exec_mode优雅的跳过1032 1062的复制错误 转载文章 https://www.cnblogs.com/rayment/p/8444753.html 今天线上的主从复制发生1062的错误,使用sql_slave_skip_counter跳过之后,由于后面的事务需要对刚 阅读全文
posted @ 2020-02-07 15:39 davie2020 编辑

点击右上角即可分享
微信分享提示