Latest checkpoint is at 2/7C3079A0 on timeline 1, but in the history of the requested timeline, the server forked off from that timeline at 0/12000000.
阅读全文
posted @ 2022-09-26 09:18
随笔分类 - PostgreSQL
摘要:
Latest checkpoint is at 2/7C3079A0 on timeline 1, but in the history of the requested timeline, the server forked off from that timeline at 0/12000000.
阅读全文
posted @ 2022-09-26 09:18
摘要:
前言 提示:如果是PostgreSQL复制流,需要先升级primary然后升级standby,否则会报错: [postgres@host72 postgres]$ /usr/local/postgresql-10.22/bin/pg_upgrade -b /usr/local/postgresql-
阅读全文
posted @ 2022-09-23 17:08
摘要:
1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送
阅读全文
posted @ 2022-09-22 21:57
摘要:背景 我的环境有MySQL、PostgreSQL数据库,为了压测方便我安装了sysbench [root]# yum install autoconf automake libtool -y [root]# git clone https://github.com/akopytov/sysbench
阅读全文
posted @ 2022-09-22 18:31
摘要:
1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送
阅读全文
posted @ 2022-09-22 16:37
摘要:
基础环境 CentOS 7.6 PostgreSQL 9.6 PostgreSQL 9.6安装 1. 安装依赖包 [root]# yum install -y perl-ExtUtils-Embed python-devel bison flex readline-devel zlib-devel
阅读全文
posted @ 2022-09-22 10:29
摘要:
基础环境 CentOS 7.6 PostgreSQL 14.5 PostgreSQL 14.5安装 1. 安装依赖包 [root]# yum install -y perl-ExtUtils-Embed python-devel bison flex readline-devel zlib-deve
阅读全文
posted @ 2022-09-22 10:15
摘要:
PostgreSQL 9.6.0更新补丁到9.6.24
阅读全文
posted @ 2022-08-31 10:23
摘要:通过pg_stat_statements模块查看消耗资源较多的SQL。
阅读全文
posted @ 2022-01-04 17:29
摘要:学习声明式、继承方式创建及管理PostgreSQL表分区
阅读全文
posted @ 2021-12-22 11:36
摘要:
PostgreSQL 9.6主从复制
阅读全文
posted @ 2021-12-07 23:57
摘要:使用pg_basebackup、pg_dump、pg_dumpall工具进行备份与恢复。
阅读全文
posted @ 2021-12-06 15:13
摘要:pgbouncer是一款轻量级的PostgreSQL连接池。
阅读全文
posted @ 2021-11-30 20:33
摘要:使用pgbench、sysbench工具对PostgreSQL做压力测试。
阅读全文
posted @ 2021-11-29 09:50
摘要:
通过SHELL安装PostgreSQL提升工作效率。
阅读全文
posted @ 2021-11-26 13:47
|
||