会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stupidstan2019
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
24
下一页
2021年12月19日
memoryContext
摘要: 1)设计文档 2)数据结构 3)申请内存 https://www.cnblogs.com/li_shugan/archive/2012/09/12/2677661.html
阅读全文
posted @ 2021-12-19 23:17 stupidstan2019
阅读(60)
评论(0)
推荐(0)
2021年12月12日
新建表
摘要: create table t11 (id int); select pg_relation_filepath('t1'); 输出到指定文件 \o /tmp/a.txt 两行pg_type表 https://www.yiibai.com/manual/postgresql/catalog-pg-typ
阅读全文
posted @ 2021-12-12 23:58 stupidstan2019
阅读(62)
评论(0)
推荐(0)
2021年12月8日
GlobalStatsTrackerMain线程
摘要: 1)线程逻辑 线程调用.xmind
阅读全文
posted @ 2021-12-08 00:14 stupidstan2019
阅读(28)
评论(0)
推荐(0)
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
阅读(43)
评论(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
阅读(44)
评论(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
阅读(41)
评论(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
阅读(26)
评论(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
阅读(67)
评论(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
阅读(50)
评论(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
阅读(149)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
24
下一页
公告