流postgresql主
首页
博客
论坛
聚能聊
问答
直播
活动
主题
登录账号
注册账号
阿里云
>
云栖社区
>
主题地图
>
L
>
流postgresql主
全部
博客
问答
免费套餐
上云实践机会
校园扶持
助力学生成长
API服务
覆盖海量行业
流postgresql主 相关的博客
再不了解PostgreSQL,你就晚了之PostgreSQL主从流复制部署
再不了解PostgreSQL,你就晚了之PostgreSQL主从流复制部署 前言 在MySQL被收购之后,虽然有其替代品为: MariaDB,但是总感觉心里有点膈应。大家发现了另一款开源的数据库: PostgreSQL。 虽然centos自带版本9.2也可以
优惠券发放
5年前
2572
postgresql主从实现之异步流复制
postgresql主从复制实现方式之一: 基于Standby的异步流复制,这是PostgreSQL9.x版本(2010.9)之后提供的一个很nice的功能,类似的功能在Oracle中是11g之后才提供的active dataguard和SQL Server
科技小能手
6年前
1853
PostgreSQL 流复制的主备切换
概述 流复制的主库和备库的角色不是静态存在的,在维护过程中可以对二者进行角色切换。例如当主库硬件故障或主库需要调整参数需要重启系统时,通常要进行流复制的主备切换。 如何判断主备角色 在通常的主备架构下(一主多备,级联除外)有以下五种方法判断主备角色 操作系统
云平_Stephen
5年前
9209
PostgreSql基于Standby的异步流主从复制
一、概述 PostgreSQl从9.0版本之后推出一个类似于Oracle的active dataguard和MySql中继日志一样的日志传送。我们借助这个功能就可实现PostgreSql的主从复制。 基本原理就是,通常一台主数据库提供读写,然后把数据同步到另一
科技小能手
6年前
1591
基于PGPool的1主2从PostgreSQL流复制HA的搭建
基于PGPool的1主2从PostgreSQL流复制HA的搭建 PostgreSQL的流复制为HA提供了很好的支持,但是部署HA集群还需要专门的HA组件, 比如通用的Pacemaker+Corosync。pgpool作为Po
小桥河西
7年前
3146
基于Pacemaker的PostgreSQL一主多从读负载均衡集群搭建
基于Pacemaker的PostgreSQL一主多从读负载均衡集群搭建 简介 PostgreSQL的HA方案有很多种,本文演示基于Pacemaker的PostgreSQL一主多从读负载均衡集群搭建。 搭建过程并不是使用原始的P
小桥河西
7年前
1959
PostgreSQL流复制热备
关于pg热备与主备切换网上很多内容都有了,本文仅为自己测试使用,特意记录过程,或对其他人提供参考。本文作者选择pg9.6.1版本作为测试。 一 主备机器规划 主机名 | IP | 角色 | 端口 :----:|:----:|:----:|:----:|:--
遥想公瑾
7年前
1122
关于PostgreSQL流复制的延迟
问题 MySQL的复制存在一个回放延迟的问题,即备机回放的速度赶不上主机SQL执行的速度,导致延迟越来越厉害。原因在于MySQL的binlog回放是单线程,主机的SQL执行是多线程,单线程的回放速度跟不上。这个问题,BAT的工程师们在公开场
小桥河西
9年前
997
流postgresql主 相关的问答
postgresql主备同步流复制出现查询结果不一样
今天对pg的同步流复制一主一备做了压力测试,发现主备数据库wal日志应用(replay_location)的程度不同,这个完全无法做成实时的读写分离。 有什么办法可以达到严格的同步吗?备库必须日志应用才能返回主库成功。
pis-j
8年前
1094
postgresql 一主两备同步流复制的高可用方案
目前公司基于一主两备的同步流复制搭建了一套高可用的方案。 大体思路是: 1、使用了pgpool作为负载均衡和连接池,并开启了watchdog作为pgpool主备。 2、使用keepalived虚拟出一个VIP,并用脚本检测主备机状态,异常则切换。 3、
pis-j
8年前
2706
postgresql流复制wal日志原理
postgresql在流复制过程中,原理是怎样的? 1、产生wal流日志之后,从内存往主库文件写的同时,也从内存往备库发。 2、产生wal日志之后,先从内存往主库文件写,然后从主库文件读出,往备库文件发。 究竟是哪种方式? 个人理解:采用同
pis-j
8年前
1550
postgresql同步流复制和异步流复制模式的区别
从参数配置上来看,只有 synchronous_standby_names 参数需要配置,和recovery.conf 文件中多加了一个application_name。 从测试结果来看,如果 synchronous_commit = on , 两者的
pis-j
8年前
1738
postgresql同步流复制和synchronous_commit参数的关系
今天搭建了同步流复制,发现当synchronous_commit = off 时,查看主库,数据库状态依然为同步模式。 synchronous_commit为off时,主库插入数据后,写到缓存就返回ok,这样怎么可以保证数据库是同步模式呢?
pis-j
8年前
2904
流复制HA主备切换,时间线分歧问题
主从流复制HA环境,主机timeline领先备机,主机挂掉后,备机升级为主机,备机上进行一系列操作后,主机启动成功变为备机。此时由于时间线分歧无法与新主机(原备机)进行流复制同步数据。有什么办法解决吗? 备注:9.6版本。
新手上路ing
5年前
426
主从流复制ha环境,主机timeline领先备机,主机挂掉后,备机升级为主机,备机上执行了一系列操作后,主机启动成功变为备机。此时由于时间线分歧无法同步数据,有什么办法解决嘛?
问题答疑来自云栖社区-技术进阶[钉钉群],喜爱PostgresSQL的同学扫码进群 ![image | left](https://yqfile.alicdn.com/b2fcd3c3bd017a76edbd5ceba043a3665ded28b
我叫石头
5年前
376
postgresql参数中fsync和synchronous_commit
今天搭建流复制,想起了一个一直以来没搞清楚的问题,fsync这个参数的含义。 首先说一下我自己个人的理解:fsync这个参数用来控制将操作系统缓存写入磁盘。(而不是数据库缓存) 举一个例子,在同步流复制中,如果参数 synchronous_comm
pis-j
8年前
2515
相关主题
postgresql 多主集群
服务流
流监控
主数据
虚拟主
主企业
限流保护
拉流地址
推流工具
拉流直播
wordpress主
博主佣金
博主返利
博主推广
博主赚钱
博主兼职
博主回扣
流服务器
主数据管理
linux 主命令
搭建免流教程
免流服务器
拉流播放器
游戏主服务器
服务器主版
数据库主备
主数据库管理
主数据管理系统
负载均衡主备
云流服务器购买
免流服务器快
免流服务器搭建教程
分布式数据库主节点
RDS 数据库主备
手机免流服务器购买
云服务器ssr免流最新
什么是免流服务器
云服务器搭建免流成本
搭建云免流服务器价格
搭建云免流服务器教程
提示ecs信
急信邮件
提示rds邮件
创建ecs控制台
急rds信
提示rds信
看docker火
急rds邮件
流postgresql方案
提示ecs控制台