上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: #一、利用xtrabackup实现完全备份及还原 1.下载并安装xtrabackup包 [root@centos8 ~]#wget https://downloads.percona.com/downloads/Percona-XtraBackup-2.4/Percona-XtraBackup-2. 阅读全文
posted @ 2023-10-08 09:52 小糊涂90 阅读(169) 评论(0) 推荐(0)
摘要: #实现主从复制配置,官网参考 https://dev.mysql.com/doc/refman/8.0/en/replication-configuration.html https://dev.mysql.com/doc/refman/5.7/en/replication-configuratio 阅读全文
posted @ 2023-10-08 09:51 小糊涂90 阅读(29) 评论(0) 推荐(0)
摘要: Mysql的日志分类: 事务日志:transaction log 错误日志:error log 通用日志:general log 慢查询日志:show query log 二进制日志:binary log 中继日志 reley log 1)事务日志的写入类型为"追加",因此其操作为“顺序IO”;通常 阅读全文
posted @ 2023-10-08 09:51 小糊涂90 阅读(31) 评论(0) 推荐(0)
摘要: 常见的mysql存储引擎有MyISAM和InnoDB。 myISAM引擎特点: 1.不支持事务 2.表级锁定 3.读写相互堵塞,写入不能读,读时不能写 4.只缓存索引 5.不支持外键约束 6.不支持聚簇索引 7.读数据较快,占用资源较少 8.不支持MVCC(多版本并发控制)高并发 9.崩溃恢复性较差 阅读全文
posted @ 2023-10-08 09:50 小糊涂90 阅读(45) 评论(0) 推荐(0)
摘要: #安装依赖包 [root@centos7 ~]#yum -y install gcc jemalloc-devel #下载源码 [root@centos7 ~]#wget http://download.redis.io/releases/redis-5.0.7.tar.gz [root@cento 阅读全文
posted @ 2023-10-08 09:50 小糊涂90 阅读(176) 评论(0) 推荐(0)
摘要: 常用模块帮助文档参考: https://docs.ansible.com/ansible/2.9/modules/modules_by_category.html https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.htm 阅读全文
posted @ 2023-10-08 09:49 小糊涂90 阅读(39) 评论(0) 推荐(0)
摘要: [root@ansible ~]# vim /etc/ansible/hosts [webservers] 10.0.0.150 ansible_connection=local 10.0.0.160 #创建角色相关目录 [root@ansible html]# mkdir -pv /data/an 阅读全文
posted @ 2023-10-08 09:49 小糊涂90 阅读(43) 评论(0) 推荐(0)
摘要: #三台服务器 centos7 mycat-server 10.0.0.152 内存2G以上 centos8 mysql-master 10.0.0.150 mariadb 10.3 centos8 mysql-master 10.0.0.160 mariadb 10.3 #1)创建数据库主从 [ro 阅读全文
posted @ 2023-10-08 09:48 小糊涂90 阅读(20) 评论(0) 推荐(0)
摘要: 1.LVS 调试算法 ipvs scheduler:根据其调度时是否考虑各RS当前的负载状态 分为两种:静态方法和动态方法 1.1静态方法 仅根据算法本身进行调度 1、RR:roundrobin,轮询,较常用 2、WRR:Weighted RR,加权轮询,较常用 3、SH:Source Hashin 阅读全文
posted @ 2023-10-08 09:47 小糊涂90 阅读(32) 评论(0) 推荐(0)
摘要: 1、LVS-NAT模式实现 环境: 共四台主机 一台: internet client:192.168.10.6/24 GW:无 仅主机 一台:lvs eth1 仅主机 192.168.10.100/16 eth0 NAT 10.0.0.8/24 两台RS: RS1: 10.0.0.7/24 GW: 阅读全文
posted @ 2023-10-08 09:47 小糊涂90 阅读(73) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 ··· 17 下一页