上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: 基于PGPool的双机集群如下图所示:pg主节点和备节点实现流复制热备,pgpool1,pgpool2作为中间件,将主备pg节点加入集群,实现读写分离,负载均衡和HA故障自动切换。两pgpool节点可以委托一个虚拟ip节点作为应用程序访问的地址,两节点之间通过watchdog进行监控,当pgpool 阅读全文
posted @ 2020-02-23 23:09 刚好遇见Mysql 阅读(1533) 评论(0) 推荐(0)
摘要: ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub username@hostname 阅读全文
posted @ 2020-02-19 21:03 刚好遇见Mysql 阅读(111) 评论(0) 推荐(0)
摘要: wget --content-disposition https://packagecloud.io/akopytov/sysbench/packages/el/6/sysbench-1.0.19-1.el6.x86_64.rpm/download.rpm rpm -ivh sysbench-1.0 阅读全文
posted @ 2020-01-07 12:27 刚好遇见Mysql 阅读(472) 评论(0) 推荐(0)
摘要: 增加复制表map关系,用filter指定复制scn map GS_CXTJ.DJ_ZRR, target GS_CXTJ.DJ_ZRR, filter(@getenv("TRANSACTION", "csn") > 14807201586623); 阅读全文
posted @ 2019-12-27 15:40 刚好遇见Mysql 阅读(237) 评论(0) 推荐(0)
摘要: 1、不可见字段 SQL> create table ht (a number,b varchar2(20) invisible); Table created. SQL> desc ht; Name Null? Type A NUMBER SQL> set colinvisible on SQL> 阅读全文
posted @ 2019-12-06 08:22 刚好遇见Mysql 阅读(313) 评论(0) 推荐(0)
摘要: 查看网络 ip addr 设置主机名 hostnamectl status hostnamectl set-hostname ht02 在root用户权限下: 查看当前启动模式 systemctl get-default 更改模式命令: systemctl set-default graphical 阅读全文
posted @ 2019-12-06 07:02 刚好遇见Mysql 阅读(367) 评论(0) 推荐(0)
摘要: linux 6 以上 mkdir -p /mnt/cdrom/ mount /dev/sr0 /mnt/cdrom [root@ht01 yum.repos.d]# cat local.repo [Server] name=Server baseurl=file:///mnt/cdrom enabl 阅读全文
posted @ 2019-12-01 12:19 刚好遇见Mysql 阅读(2030) 评论(0) 推荐(0)
摘要: 备份asm disk header kfed 或者 dd kfed read /dev/asm_data1 > asm_data1.txt &&kfed read /dev/asm_data2 > asm_data2.txt &&kfed read /dev/asm_data3 > asm_data 阅读全文
posted @ 2019-11-10 20:12 刚好遇见Mysql 阅读(333) 评论(0) 推荐(0)
摘要: 防火墙(firewalld)临时关闭防火墙systemctl stop firewalld永久防火墙开机自关闭systemctl disable firewalld临时打开防火墙systemctl start firewalld防火墙开机启动systemctl enable firewalld查看防 阅读全文
posted @ 2019-11-10 13:34 刚好遇见Mysql 阅读(489) 评论(0) 推荐(0)
摘要: 异步复制 同步复制 延迟复制 阅读全文
posted @ 2019-10-16 11:26 刚好遇见Mysql 阅读(991) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页