随笔 - 136, 文章 - 0, 评论 - 14, 阅读 - 13万
  首页  :: 新随笔  :: 管理
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

随笔分类 -  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.处理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 高&玉 阅读(568) 评论(0) 推荐(1) 编辑

摘要:PostgreSQL 9.6升级到14.5(pg_upgrade)前言 提示:如果是PostgreSQL复制流,需要先升级primary然后升级standby,否则会报错: [postgres@host72 postgres]$ /usr/local/postgresql-10.22/bin/pg_upgrade -b /usr/local/postgresql- 阅读全文

posted @ 2022-09-23 17:08 高&玉 阅读(1204) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 14.5复制流(同步复制)1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送 阅读全文

posted @ 2022-09-22 21:57 高&玉 阅读(2133) 评论(0) 推荐(1) 编辑

摘要:背景 我的环境有MySQL、PostgreSQL数据库,为了压测方便我安装了sysbench [root]# yum install autoconf automake libtool -y [root]# git clone https://github.com/akopytov/sysbench 阅读全文

posted @ 2022-09-22 18:31 高&玉 阅读(987) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 14.5复制流(异步复制)1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送 阅读全文

posted @ 2022-09-22 16:37 高&玉 阅读(1403) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 9.6 for CentOS安装基础环境 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 高&玉 阅读(369) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 14.5 for CentOS安装基础环境 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 高&玉 阅读(632) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 9.6.0更新补丁到9.6.24PostgreSQL 9.6.0更新补丁到9.6.24 阅读全文

posted @ 2022-08-31 10:23 高&玉 阅读(845) 评论(0) 推荐(0) 编辑

摘要:从PostgreSQL迁移到MySQL从PostgreSQL迁移到MySQL 阅读全文

posted @ 2022-07-15 18:30 高&玉 阅读(1245) 评论(0) 推荐(0) 编辑

摘要:通过pg_stat_statements模块查看消耗资源较多的SQL。 阅读全文

posted @ 2022-01-04 17:29 高&玉 阅读(1724) 评论(0) 推荐(0) 编辑

摘要:学习PostgreSQL函数使用及管理方法 阅读全文

posted @ 2021-12-23 12:47 高&玉 阅读(710) 评论(0) 推荐(0) 编辑

摘要:学习声明式、继承方式创建及管理PostgreSQL表分区 阅读全文

posted @ 2021-12-22 11:36 高&玉 阅读(2712) 评论(0) 推荐(0) 编辑

摘要:PostgreSQL 9.6流复制(异步复制)PostgreSQL 9.6主从复制 阅读全文

posted @ 2021-12-07 23:57 高&玉 阅读(528) 评论(0) 推荐(0) 编辑

摘要:使用pg_basebackup、pg_dump、pg_dumpall工具进行备份与恢复。 阅读全文

posted @ 2021-12-06 15:13 高&玉 阅读(6428) 评论(0) 推荐(1) 编辑

摘要:pgbouncer是一款轻量级的PostgreSQL连接池。 阅读全文

posted @ 2021-11-30 20:33 高&玉 阅读(2996) 评论(0) 推荐(0) 编辑

摘要:使用pgbench、sysbench工具对PostgreSQL做压力测试。 阅读全文

posted @ 2021-11-29 09:50 高&玉 阅读(3844) 评论(2) 推荐(0) 编辑

摘要:PostgreSQL 9.6 for CentOS源码安装(shell方式)通过SHELL安装PostgreSQL提升工作效率。 阅读全文

posted @ 2021-11-26 13:47 高&玉 阅读(291) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示