摘要: 问题现象 先是备份执行pg_basebackup时卡住超时,查看pg_stat_activity中备份进程被checkpoint进程阻塞,然后再检查checkpoint进程发现进程等待事件是IPC:CheckpointStart 查看checkpointer进程的pstack: # pstack c 阅读全文
posted @ 2024-04-11 11:07 清风生 阅读(296) 评论(0) 推荐(1)
摘要: PG中国用哪个时区标识符? 在linux中使用timedatectl查看时间,可以看到localtime中时区是CST。 $ timedatectl Local time: Mon 2024-03-04 18:19:54 CST Universal time: Mon 2024-03-04 10:1 阅读全文
posted @ 2024-03-08 18:14 清风生 阅读(352) 评论(0) 推荐(0)
摘要: 第三方插件安装 进入第三方插件源码目录中,定义PATH或者PG_CONFIG环境变量 # 示例,将pg的bin目录export PATH: export PATH=/data/postgres/13/bin:$PATH # 或者 export PG_CONFIG=/data/postgres/13/ 阅读全文
posted @ 2024-03-01 16:19 清风生 阅读(1520) 评论(0) 推荐(0)