<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Replication on TinyChen's Blog</title><link>https://tinychen.com/tags/replication/</link><description>Recent content in Replication on TinyChen's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Thu, 23 Jul 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://tinychen.com/tags/replication/index.xml" rel="self" type="application/rss+xml"/><item><title>PostgreSQL流复制热备配置与排障</title><link>https://tinychen.com/20251106-pgsql-hot-standby/</link><pubDate>Thu, 06 Nov 2025 12:00:00 +0800</pubDate><guid>https://tinychen.com/20251106-pgsql-hot-standby/</guid><description>&lt;p&gt;本文主要记录 PostgreSQL 流复制（Streaming Replication）主从热备的配置步骤：主库参数与复制用户/复制槽、备库 &lt;code&gt;pg_basebackup&lt;/code&gt; 与 &lt;code&gt;standby.signal&lt;/code&gt;、复制状态验证，以及手动 promote。文末补充 &lt;code&gt;sslmode&lt;/code&gt;、WAL 保留参数与常见报错处理。&lt;/p&gt;</description></item></channel></rss>