会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stupidstan2019
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
下一页
2021年11月28日
glibc死锁复现
摘要: 【环境安装】 virtualBox CentOS Linux release 7.6.1810 (Core) yum install yum-utils nss-softokn-debuginfo --nogpgcheck -y debuginfo-install -y glibc bzip2-li
阅读全文
posted @ 2021-11-28 17:37 stupidstan2019
阅读(38)
评论(0)
推荐(0)
2021年10月30日
极致rto
摘要: 配置文件 recovery_parse_workers=2recovery_redo_workers=2hot_standby=off /home/postgres/openGauss-server/dest/bin/gaussdb -D /home/postgres/openGauss-serve
阅读全文
posted @ 2021-10-30 01:04 stupidstan2019
阅读(40)
评论(0)
推荐(0)
2021年10月21日
搭建环境
摘要: https://gitee.com/opengauss 环境搭建指导 https://opengauss.org/zh/blogs/blogs.html?post/xingchen/opengauss_compile/ export CODE_BASE=/home/postgres/openGaus
阅读全文
posted @ 2021-10-21 00:58 stupidstan2019
阅读(36)
评论(0)
推荐(0)
2021年10月15日
2pc影响,发现和通知
摘要: /home/postgres/pg11/project/bin/pg_ctl -D /home/postgres/pg11/data -l ~/logfile start postgres=# begin; BEGIN postgres=*# insert into t1(id) values(1)
阅读全文
posted @ 2021-10-15 23:34 stupidstan2019
阅读(25)
评论(0)
推荐(0)
2021年10月2日
promote备库
摘要: 1)备库初始状态 [jiang@paf2 pg11]$ pg_controldata data/ | grep 'Database cluster state' Database cluster state: in archive recovery 2)停掉主库,promote备库 pg_ctl p
阅读全文
posted @ 2021-10-02 23:38 stupidstan2019
阅读(62)
评论(0)
推荐(0)
配置同步复制
摘要: 【参考】 https://www.cnblogs.com/seasonzone/p/6089350.html 【流程】 1)查看备机名 postgres=# select * from pg_stat_replication; application_name=walreceiver 2)修改配置
阅读全文
posted @ 2021-10-02 23:06 stupidstan2019
阅读(45)
评论(0)
推荐(0)
replication_slot
摘要: 【参考】 https://blog.csdn.net/rudygao/article/details/49507281 【数据结构】 1)查询结构 SELECT * FROM pg_replication_slots; 2)官方介绍 3)存储位置 $pgdata/pg_replslot/postgr
阅读全文
posted @ 2021-10-02 22:19 stupidstan2019
阅读(146)
评论(0)
推荐(0)
【备机启动】一些代码调用栈
摘要: 【参考】 http://mysql.taobao.org/monthly/2015/10/04/ 【备机】 1)startup进程,通知master进程启动walreceiver slotName="postgresql_node102" conninfo=ip,host,用户密码 2) 备机mas
阅读全文
posted @ 2021-10-02 21:56 stupidstan2019
阅读(39)
评论(0)
推荐(0)
sql解析
摘要: 【测试方法】 select 1; exec_simple_query postgres.c:967 【执行过程】 1)pg_parse_query postgres.c:638 返回值 typedef struct List{ NodeTag type; #T_List int length=1;
阅读全文
posted @ 2021-10-02 18:30 stupidstan2019
阅读(36)
评论(0)
推荐(0)
2021年10月1日
polardb_paxos
摘要: 1) 启动和复制流程 2)事务提交等paxos状态机
阅读全文
posted @ 2021-10-01 16:28 stupidstan2019
阅读(40)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
下一页
公告