<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PostgreSQL 大法师 on 老冯云数</title><link>https://vonng.com/pg/</link><description>Recent content in PostgreSQL 大法师 on 老冯云数</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>rh@vonng.com (冯若航)</managingEditor><webMaster>rh@vonng.com (冯若航)</webMaster><copyright>© 2025 冯若航</copyright><lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://vonng.com/pg/index.xml" rel="self" type="application/rss+xml"/><item><title>504 个扩展，PG 生态的天花板在哪？</title><link>https://vonng.com/pg/extension-504/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/extension-504/</guid><description>一个 Issue ，引发扩展马拉松；32 个新扩展告诉你，PostgreSQL 正在变成什么；504 个扩展，PostgreSQL 生态的天花板在哪？</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/extension-504/featured.webp"/></item><item><title>PostgreSQL vs MySQL 2026</title><link>https://vonng.com/pg/pg-vs-mysql-2026/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-vs-mysql-2026/</guid><description>2026 年，PostgreSQL 已经赢得数据库增量世界，并在开发者采用率、厂商战略、 资本市场与社区治理上全面压过 MySQL。存量仍属 MySQL，增量已归 PG。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-vs-mysql-2026/featured.webp"/></item><item><title>PG 五大版本中文文档已就绪，欢迎查阅！</title><link>https://vonng.com/pg/pgdoc-cn/</link><pubDate>Fri, 27 Mar 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgdoc-cn/</guid><description>PG.center 现已正式上线 PostgreSQL 18、17、16、15、14 五个生命周期内大版本的中文文档，欢迎查阅与反馈。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgdoc-cn/featured.webp"/></item><item><title>PostgreSQL 官网中文版：pg.center</title><link>https://vonng.com/pg/pg-center/</link><pubDate>Thu, 26 Mar 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-center/</guid><description>pg.center 是 postgresql.org 的完整中文镜像，首页、文档、新闻、社区与开发者资源全面汉化， 并同步发布 PostgreSQL 18 中文文档。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-center/featured.webp"/></item><item><title>PG 扩展百科全书：中英双语，开箱即用</title><link>https://vonng.com/pg/pgext-pedia/</link><pubDate>Fri, 13 Mar 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgext-pedia/</guid><description>我把 PostgreSQL 生态里 464 个扩展做成了一本中英双语、开箱即用的扩展百科全书：元数据、下载矩阵、安装命令、使用说明与二进制仓库一站齐全。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgext-pedia/featured.webp"/></item><item><title>一天翻译完 PG 生态三大件文档</title><link>https://vonng.com/pg/pg-translate/</link><pubDate>Mon, 02 Mar 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-translate/</guid><description>花了一天时间，把 PgBouncer、pgBackRest、Patroni 这三个 PostgreSQL 生态核心组件的文档几乎完整翻译成了中文。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-translate/featured.webp"/></item><item><title>Oracle 兼容的 PG 真的有用吗？</title><link>https://vonng.com/pg/ivorysql/</link><pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/ivorysql/</guid><description>从一个“只有 JAR 没有源码”的迁移案例出发，解释为什么 Oracle 语法兼容并非伪需求，以及如何用 IvorySQL + Pigsty 低成本接住历史包袱。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ivorysql/featured.webp"/></item><item><title>号外：暂缓 PG 最新小版本安装与升级</title><link>https://vonng.com/pg/pg-out-of-sync-202602/</link><pubDate>Thu, 19 Feb 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-out-of-sync-202602/</guid><description>PostgreSQL 18.2 系列小版本引入了 substring 与 WAL 回放相关回归问题，建议暂缓新建与升级，并在 2026-02-26 号外版本发布后尽快更新。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-out-of-sync-202602/featured.webp"/></item><item><title>从AGPL到Apache：Pigsty 协议变更的思考</title><link>https://vonng.com/pg/pigsty-relicense/</link><pubDate>Thu, 29 Jan 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pigsty-relicense/</guid><description>Pigsty 从 AGPLv3 切换到 Apache 2.0 许可证，有朋友问我不怕别人白嫖吗？ 欢迎白嫖，要做数据库世界的 Debian，一个开放的许可证是必要的诚意。（不过白嫖 Pigsty 可以，白嫖老冯可不行，哈哈）</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pigsty-relicense/featured.webp"/></item><item><title>OpenAI：一套 PG 支持8亿 ChatGPT 用户</title><link>https://vonng.com/pg/openai-postgres/</link><pubDate>Sat, 24 Jan 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/openai-postgres/</guid><description>PostgreSQL 的标杆案例，他们使用1主50从的经典主从PG，支撑了8亿ChatGPT用户。附上老冯的评论与看法。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/openai-postgres/featured.webp"/></item><item><title>PostgreSQL 高可用到底怎么做？</title><link>https://vonng.com/pg/pg-ha-sota/</link><pubDate>Fri, 23 Jan 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-ha-sota/</guid><description>详细介绍 PG 高可用 SOTA 方案，RTO / RPO 拆解，从原理到实战，一步到位。如果你还在折腾 PG HA，希望能帮你少走几年弯路。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-ha-sota/featured.webp"/></item><item><title>Git for Data: 瞬间克隆PG数据库</title><link>https://vonng.com/pg/pg-clone/</link><pubDate>Sat, 27 Dec 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-clone/</guid><description>如何在瞬间克隆一个巨大的 PostgreSQL 数据库，还不占用额外的存储？PG 18 与 XFS 可以擦出很多火花。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-clone/featured.jpg"/></item><item><title>为什么PG将主宰AI时代的数据库</title><link>https://vonng.com/pg/ai-db-king/</link><pubDate>Mon, 01 Dec 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/ai-db-king/</guid><description>上下文窗口经济学，多元持久化的问题，以及零胶水架构的胜利，让 PG 成为 AI 时代的数据库之王。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ai-db-king/featured.jpg"/></item><item><title>立足中国，面向全球的 PostgreSQL 发行版</title><link>https://vonng.com/pg/forge-a-pg-distro/</link><pubDate>Thu, 27 Nov 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/forge-a-pg-distro/</guid><description>如何打造一个立足中国，面向全球的 PostgreSQL 数据库发行版？在第八届中国PG生态大会上的主题演讲。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/forge-a-pg-distro/featured.jpg"/></item><item><title>PG扩展云：解锁 PG 生态的全部潜力</title><link>https://vonng.com/pg/pgext-cloud/</link><pubDate>Wed, 12 Nov 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgext-cloud/</guid><description>开源免费免翻墙，一键安装PG与431个扩展插件 14个Linux发行版 x 6大PG主版本原生 RPM/DEB。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgext-cloud/featured.jpg"/></item><item><title>从PG“断供”看软件供应链中的信任问题</title><link>https://vonng.com/pg/pg-mirror-pigsty/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-mirror-pigsty/</guid><description>PostgreSQL官方仓库切断全球镜像站同步通道，开源制成品断供，很好的试出了各家数据库厂商和云厂商的成色。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-mirror-pigsty/featured.jpg"/></item><item><title>专栏：Postgres 大法师</title><link>https://vonng.com/pg/mage/</link><pubDate>Fri, 08 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/mage/</guid><description>关于 PostgreSQL 的开发，管理，原理，生态，工具，架构设计，性能优化，故障排查等方面的文章导航。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/mage/featured.jpg"/></item><item><title>PostgreSQL主宰数据库世界，而谁来吞噬PG？</title><link>https://vonng.com/pg/proprity-pg/</link><pubDate>Tue, 05 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/proprity-pg/</guid><description>那些曾经让 MongoDB，MySQL 走向封闭的力量，如今也同样在 PostgreSQL 的生态中发挥作用，PG世界需要一个代表&amp;quot;软件自由&amp;quot;价值观的发行版。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/proprity-pg/featured.jpg"/></item><item><title>PostgreSQL 已主宰数据库世界</title><link>https://vonng.com/pg/so2025-pg/</link><pubDate>Thu, 31 Jul 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/so2025-pg/</guid><description>2025 年的 SO 全球开发者调研结果新鲜出炉，PostgreSQL 连续第三年成为全球最流行，最受喜爱，需求量最高的数据库。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/so2025-pg/featured.jpg"/></item><item><title>卡脖子：PGDG切断镜像站同步通道</title><link>https://vonng.com/pg/pg-mirror-break/</link><pubDate>Mon, 07 Jul 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-mirror-break/</guid><description>PGDG 切断 FTP rsync 同步通道，全球镜像站普遍断连，这次还真是卡了一把全球用户的脖子。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-mirror-break/featured.jpg"/></item><item><title>Postgres Extension Day，咱们不见不散</title><link>https://vonng.com/pg/pgext-day/</link><pubDate>Wed, 09 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgext-day/</guid><description>一年一度的 PostgreSQL 开发者大会即将在五月于蒙特利尔举办。同上次第一届 PG Con.Dev 一样，这次也有一天的额外的专场活动 —— Postgres Extensions Day。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgext-day/featured.jpg"/></item><item><title>OrioleDB来了！4x性能，消除顽疾，存算分离</title><link>https://vonng.com/pg/orioledb-is-coming/</link><pubDate>Sun, 06 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/orioledb-is-coming/</guid><description>Supabase收购的一个PG内核分支，号称解决了PG XID回卷的问题，没有表膨胀问题，性能提升4倍，还支持云原生存储。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/orioledb-is-coming/featured.jpg"/></item><item><title>OpenHalo：MySQL线缆兼容的PostgreSQL来了！</title><link>https://vonng.com/pg/openhalo-mysql/</link><pubDate>Thu, 03 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/openhalo-mysql/</guid><description>PostgreSQL现在可以使用MySQL客户端访问了！愚人节刚开源的openHalo提供了这样的能力，现已加入Pigsty内核全家桶。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/openhalo-mysql/featured.jpg"/></item><item><title>PGFS：将数据库作为文件系统</title><link>https://vonng.com/pg/pgfs/</link><pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgfs/</guid><description>利用 JuiceFS，将 PostgreSQL 变为一个带 PITR 的文件系统！</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgfs/featured.jpg"/></item><item><title>PostgreSQL 生态前沿进展</title><link>https://vonng.com/pg/pg-frontier/</link><pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-frontier/</guid><description>和大家分享一下最近 PG 生态有趣的一些进展：Omnigres、PG Mooncake、Citus 13、FerretDB 2.0、ParadeDB等。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-frontier/featured.jpg"/></item><item><title>小猪骑大象：PG内核与扩展包管理神器</title><link>https://vonng.com/pg/pig/</link><pubDate>Mon, 23 Dec 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pig/</guid><description>PostgreSQL 与 Pigsty 中长期缺失的一个包管理器 —— PIG。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pig/featured.jpg"/></item><item><title>不要更新！发布当日叫停：PG也躲不过大翻车</title><link>https://vonng.com/pg/pg-faint/</link><pubDate>Sat, 16 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-faint/</guid><description>不要在星期五发布代码，否则你会多忙一整周！PG小版本发布当天，紧急回滚新发布的小版本。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-faint/featured.webp"/></item><item><title>PostgreSQL 12 过保，PG 17 上位</title><link>https://vonng.com/pg/pg12-eol-pg17-up/</link><pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg12-eol-pg17-up/</guid><description>PG17使用PG16一半的时间实现扩展生态适配，300个可用扩展就绪，达到生产可用状态。PG12正式脱离支持生命周期。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg12-eol-pg17-up/featured.jpg"/></item><item><title>PostgreSQL神功大成！最全扩展仓库来了！</title><link>https://vonng.com/pg/pg-ext-repo/</link><pubDate>Sat, 02 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-ext-repo/</guid><description>PG扩展很多很强大，但如何安装并使用起来一直都是社区的难题。现在有了Pigsty扩展仓库，390个强力插件开箱即用。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-ext-repo/featured.jpg"/></item><item><title>PostgreSQL 规约（2024版）</title><link>https://vonng.com/pg/pg-convention/</link><pubDate>Wed, 09 Oct 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-convention/</guid><description>没有规矩，不成方圆。本文是22-24年针对PostgreSQL 15-17大版本的更新，希望可以减少大家在使用与管理PostgreSQL数据库过程中遇到的困惑。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-convention/featured.jpg"/></item><item><title>PostgreSQL 17 发布：摊牌了，我不装了！</title><link>https://vonng.com/pg/pg-17/</link><pubDate>Thu, 26 Sep 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-17/</guid><description>现在PG是世界上最先进的开源数据库，已经是各种规模组织的首选开源数据库，与顶尖商业数据库旗鼓相当，甚至更胜一筹。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-17/featured.jpg"/></item><item><title>PostgreSQL可以替代微软SQL Server吗？</title><link>https://vonng.com/pg/pg-replace-mssql/</link><pubDate>Mon, 02 Sep 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-replace-mssql/</guid><description>PostgreSQL可以直接从内核层面替换掉Oracle、SQL Server与MongoDB，最彻底的是SQL Server，AWS出品的Babelfish直接做到了线缆协议级兼容。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-replace-mssql/featured.jpg"/></item><item><title>谁整合好DuckDB，谁赢得OLAP世界</title><link>https://vonng.com/pg/pg-duckdb/</link><pubDate>Tue, 13 Aug 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-duckdb/</guid><description>正如两年前开展的向量数据库扩展插件赛马一样，当下PG生态进行的扩展竞赛已经开始围绕DuckDB进行，MotherDuck官方亲自下场标志着竞争进入白热化。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-duckdb/featured.jpg"/></item><item><title>StackOverflow 2024调研：PostgreSQL已经杀疯了</title><link>https://vonng.com/pg/pg-is-no1-again/</link><pubDate>Thu, 25 Jul 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-is-no1-again/</guid><description>2024年的SO全球开发者调研结果新鲜出炉，PostgreSQL连续第二年成为全球最流行、最受喜爱、需求量最高的数据库。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-no1-again/featured.png"/></item><item><title>使用Pigsty自建Dify：AI工作流平台</title><link>https://vonng.com/pg/dify-setup/</link><pubDate>Sat, 22 Jun 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/dify-setup/</guid><description>Dify 是一个生成式 AI 应用创新引擎，开源的 LLM 应用开发平台，本文介绍了如何使用 Pigsty 自建 Dify。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/dify-setup/featured.webp"/></item><item><title>让PG停摆一周的大会：PGCon.Dev 2024 参会记</title><link>https://vonng.com/pg/pgcondev-2024/</link><pubDate>Mon, 17 Jun 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgcondev-2024/</guid><description>大会议程与主题分享，酒吧社交，自组织会议，PG仓库是如何维护的，社区参与度，一些中国特色问题。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgcondev-2024/featured.jpg"/></item><item><title>PostgreSQL 17 beta1 发布！</title><link>https://vonng.com/pg/pg-17-beta1/</link><pubDate>Fri, 24 May 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-17-beta1/</guid><description>PostgreSQL 全球开发组宣布，PostgreSQL 17 的首个 Beta 版本现已开放，这次 PG 真的是把牙膏管给挤爆啦！</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-17-beta1/featured.jpg"/></item><item><title>为什么PostgreSQL是未来数据库的事实标准？</title><link>https://vonng.com/pg/pg-for-everything/</link><pubDate>Thu, 16 May 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-for-everything/</guid><description>如今软件开发中最大的趋势之一，是PostgreSQL正在成为事实上的数据库标准。直到现在还没有多少文章能解释这一现象背后的原因。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-for-everything/featured.jpg"/></item><item><title>PostgreSQL会修改开源许可证吗？</title><link>https://vonng.com/pg/pg-license/</link><pubDate>Wed, 20 Mar 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-license/</guid><description>PostgreSQL 不会改变其许可证。本文是 PostgreSQL 核心组成员对此问题的回答。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-license/featured.jpg"/></item><item><title>PostgreSQL 正在吞噬数据库世界</title><link>https://vonng.com/pg/pg-eat-db-world/</link><pubDate>Mon, 04 Mar 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-eat-db-world/</guid><description>PostgreSQL并不是一个简单的关系型数据库，而是一个数据管理的抽象框架，具有吞噬整个数据库世界的力量。&amp;ldquo;一切皆用Postgres&amp;quot;已经成为主流视野的最佳实践。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-eat-db-world/featured.jpg"/></item><item><title>技术极简主义：一切皆用Postgres</title><link>https://vonng.com/pg/just-use-pg/</link><pubDate>Mon, 19 Feb 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/just-use-pg/</guid><description>使用 Postgres 替代 Kafka、RabbitMQ、ElasticSearch、Mongo 和 Redis 是切实可行的方式，可以极大降低系统复杂度。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/just-use-pg/featured.jpg"/></item><item><title>PG生态新玩家：ParadeDB</title><link>https://vonng.com/pg/paradedb/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/paradedb/</guid><description>ParadeDB 旨在成为 Elasticsearch 的替代：用于搜索和分析的 PostgreSQL。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/paradedb/featured.jpg"/></item><item><title>令人惊叹的PostgreSQL可伸缩性</title><link>https://vonng.com/pg/pg-scalability/</link><pubDate>Sat, 13 Jan 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-scalability/</guid><description>本文讲述了Cloudflare是如何利用15个PostgreSQL集群，伸缩到支持每秒5500万个请求，以及PostgreSQL的可伸缩性表现。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-scalability/featured.jpg"/></item><item><title>PostgreSQL荣获2024年度数据库之王！（第五次）</title><link>https://vonng.com/pg/pg-dbeng-2024/</link><pubDate>Fri, 05 Jan 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-dbeng-2024/</guid><description>DB-Engines今日正式宣布PostgreSQL再度加冕为&amp;quot;年度数据库&amp;quot;，最近七年里这已经是PG第五次获得此荣誉头衔。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-dbeng-2024/featured.jpg"/></item><item><title>展望 PostgreSQL 的2024</title><link>https://vonng.com/pg/pg-in-2024/</link><pubDate>Fri, 05 Jan 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-in-2024/</guid><description>本文是 PostgreSQL 核心组成员 Jonathan Katz 对 2024 年 PostgreSQL 项目的未来展望，并回顾过去几年 PostgreSQL 所取得的进展。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-in-2024/featured.jpg"/></item><item><title>PostgreSQL 宏观查询优化之 pg_stat_statements</title><link>https://vonng.com/pg/pgss/</link><pubDate>Thu, 26 Oct 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgss/</guid><description>查询优化是 DBA 的核心工作内容之一，本文介绍了如何使用 pg_stat_statements 提供的指标，针对 PostgreSQL 进行宏观查询优化。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgss/featured.jpg"/></item><item><title>FerretDB：假扮成MongoDB的PG</title><link>https://vonng.com/pg/ferretdb/</link><pubDate>Sun, 08 Oct 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/ferretdb/</guid><description>FerretDB旨在提供一个基于 PostgreSQL 的，真正开源的 MongoDB 替代。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ferretdb/featured.jpg"/></item><item><title>如何用 pg_filedump 抢救数据？</title><link>https://vonng.com/pg/pg-filedump/</link><pubDate>Wed, 27 Sep 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-filedump/</guid><description>备份是DBA的生命线，但如果你的PostgreSQL数据库已经爆炸了又没有备份，该怎么办？也许pg_filedump可以帮到你！</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-filedump/featured.jpg"/></item><item><title>向量是新的 JSON</title><link>https://vonng.com/pg/vector-json-pg/</link><pubDate>Sun, 06 Aug 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/vector-json-pg/</guid><description>以向量为代表的功能将成为构建应用时的关键要素，正如历史上的JSON一样。而PostgreSQL再一次站在时代风口浪尖引领数据库潮流，在向量扩展的加持下稳拿AI时代的高速增长。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/vector-json-pg/featured.jpg"/></item><item><title>PostgreSQL：最成功的数据库</title><link>https://vonng.com/pg/pg-is-no1/</link><pubDate>Wed, 28 Jun 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-is-no1/</guid><description>数据库终局已现，PostgreSQL称王。PG在SF2023开发者调研中拿下大满贯，占住了Linux之于服务器操作系统的生态位。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-no1/featured.jpg"/></item><item><title>AI大模型与向量库 PGVector</title><link>https://vonng.com/pg/llm-and-pgvector/</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/llm-and-pgvector/</guid><description>本文聚焦被 AI 炒火了的向量数据库，介绍了AI嵌入与向量存储检索的基本原理，并用一个具体的知识库检索案例来介绍向量数据库插件 PGVECTOR 的功能与应用。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/llm-and-pgvector/featured.jpg"/></item><item><title>PostgreSQL 到底有多强？</title><link>https://vonng.com/pg/pg-performence/</link><pubDate>Mon, 22 Aug 2022 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-performence/</guid><description>用性能数据说话，为什么PostgreSQL是世界上最先进的开源关系型数据库。MySQL和PgSQL性能谁好？分布式数据库到底怎么样？</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-performence/featured.jpg"/></item><item><title>为什么PostgreSQL是最成功的数据库？</title><link>https://vonng.com/pg/pg-is-best/</link><pubDate>Tue, 12 Jul 2022 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-is-best/</guid><description>总览StackOverflow过去六年的调研结果，在2022年PostgreSQL已经同时在流行度、喜爱度、需求度三项上登顶夺冠，成了字面意义上最成功的数据库。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-best/featured.jpg"/></item><item><title>开箱即用的PG发行版：Pigsty</title><link>https://vonng.com/pg/pigsty-intro/</link><pubDate>Mon, 24 May 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pigsty-intro/</guid><description>昨天在PostgreSQL中文社区做了一个直播分享，介绍了开源的PostgreSQL全家桶解决方案 —— Pigsty。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pigsty-intro/featured.jpg"/></item><item><title>为什么PostgreSQL前途无量？</title><link>https://vonng.com/pg/pg-is-great/</link><pubDate>Sat, 08 May 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-is-great/</guid><description>数据库是信息系统的核心组件，关系型数据库是数据库中的绝对主力，而PostgreSQL是世界上最先进的开源关系型数据库。占据天时地利，何愁大业不成？</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-great/featured.jpg"/></item><item><title>PG中的本地化排序规则</title><link>https://vonng.com/pg/collate/</link><pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/collate/</guid><description>什么？不知道COLLATTION是什么，那记住一件事，用C COLLATE准没错！</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/collate/featured.jpg"/></item><item><title>高级模糊查询的实现</title><link>https://vonng.com/pg/fuzzymatch/</link><pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/fuzzymatch/</guid><description>如何在PostgreSQL中实现比较复杂的模糊查询逻辑？</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/fuzzymatch/featured.jpg"/></item><item><title>PG复制标识详解（Replica Identity）</title><link>https://vonng.com/pg/replica-identity/</link><pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/replica-identity/</guid><description>复制标识很重要，它关系到逻辑复制的成败。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/replica-identity/featured.jpg"/></item><item><title>PostgreSQL 逻辑复制详解</title><link>https://vonng.com/pg/logical-replication/</link><pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/logical-replication/</guid><description>本文介绍PostgreSQL中逻辑复制的相关原理，以及最佳实践。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logical-replication/featured.jpg"/></item><item><title>PG慢查询诊断方法论</title><link>https://vonng.com/pg/slow-query/</link><pubDate>Tue, 23 Feb 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/slow-query/</guid><description>慢查询是在线业务数据库的大敌，本文介绍了使用监控系统定位诊断慢查询的一般方法论。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/slow-query/featured.jpg"/></item><item><title>故障档案：时间回溯导致的Patroni故障</title><link>https://vonng.com/pg/time-travel/</link><pubDate>Mon, 22 Feb 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/time-travel/</guid><description>机器因为故障重启，NTP服务在PG启动后修复了PG的时间，导致Patroni无法启动。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/time-travel/featured.jpg"/></item><item><title>在线修改主键列类型</title><link>https://vonng.com/pg/alter-type/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/alter-type/</guid><description>如何在线修改表中列的类型，例如从INT升级为BIGINT？</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/alter-type/featured.jpg"/></item><item><title>黄金监控指标：错误延迟吞吐饱和</title><link>https://vonng.com/pg/golden-metrics/</link><pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/golden-metrics/</guid><description>了解PostgreSQL中的黄金监控指标：错误、延迟、吞吐和饱和度。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/golden-metrics/featured.jpg"/></item><item><title>数据库集群管理概念与实体命名规范</title><link>https://vonng.com/pg/entity-and-naming/</link><pubDate>Wed, 03 Jun 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/entity-and-naming/</guid><description>概念及其命名是非常重要的东西，命名风格体现了工程师对系统架构的认知。定义不清的概念将导致沟通困惑，随意设定的名称将产生意想不到的额外负担。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/entity-and-naming/featured.jpg"/></item><item><title>PostgreSQL的KPI</title><link>https://vonng.com/pg/pg-load/</link><pubDate>Fri, 29 May 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-load/</guid><description>管数据库和管人差不多，都需要定KPI。本文介绍了一种衡量PostgreSQL负载的方式：使用一种单一横向可比的指标，名曰PG Load（PG负载）。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-load/featured.jpg"/></item><item><title>在线修改PG字段类型</title><link>https://vonng.com/pg/migrate-column-type/</link><pubDate>Thu, 30 Jan 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/migrate-column-type/</guid><description>如何在线修改PostgreSQL中的字段类型？一种通用方法。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/migrate-column-type/featured.jpg"/></item><item><title>前后端通信线缆协议</title><link>https://vonng.com/pg/wire-protocol/</link><pubDate>Tue, 12 Nov 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/wire-protocol/</guid><description>了解PostgreSQL服务器与客户端通信使用的TCP协议，并使用Go语言打印消息。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/wire-protocol/featured.jpg"/></item><item><title>事务隔离等级注意事项</title><link>https://vonng.com/pg/isolation-level/</link><pubDate>Tue, 12 Nov 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/isolation-level/</guid><description>PostgreSQL实际上只有两种事务隔离等级：读已提交（Read Commited）与可序列化（Serializable）。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/isolation-level/featured.jpg"/></item><item><title>故障档案：PG安装Extension导致无法连接</title><link>https://vonng.com/pg/extension/</link><pubDate>Thu, 13 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/extension/</guid><description>今天遇到一个比较有趣的Case，客户报告说数据库连不上了，发现是扩展导致的。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/extension/featured.jpg"/></item><item><title>CDC 变更数据捕获机理</title><link>https://vonng.com/pg/logical-decoding/</link><pubDate>Wed, 12 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/logical-decoding/</guid><description>数据变更捕获是一种很有趣的ETL替代方案，以流式的方式持续收集状态变化事件。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logical-decoding/featured.jpg"/></item><item><title>PostgreSQL中的锁</title><link>https://vonng.com/pg/pg-lock/</link><pubDate>Tue, 11 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-lock/</guid><description>详细介绍PostgreSQL中的各种锁：表级锁、行级锁、页级锁、咨询锁等。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-lock/featured.jpg"/></item><item><title>GIN搜索的O(n²)复杂度</title><link>https://vonng.com/pg/gin/</link><pubDate>Fri, 12 Apr 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/gin/</guid><description>GIN索引如果使用很长的关键词列表进行搜索，会导致性能显著下降。本文解释了为什么GIN索引关键词搜索的时间复杂度为O(n²)。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/gin/featured.jpg"/></item><item><title>PostgreSQL 常见复制拓扑方案</title><link>https://vonng.com/pg/replication-plan/</link><pubDate>Fri, 29 Mar 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/replication-plan/</guid><description>复制是系统架构中的核心问题之一。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/replication-plan/featured.jpg"/></item><item><title>温备：使用pg_receivewal</title><link>https://vonng.com/pg/backup-plan/</link><pubDate>Sat, 02 Mar 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/backup-plan/</guid><description>备份有各种各样的策略，物理备份通常可以分为四种。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/backup-plan/featured.jpg"/></item><item><title>故障档案：pg_dump导致的连接池污染</title><link>https://vonng.com/pg/pg-dump-failure/</link><pubDate>Tue, 11 Dec 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-dump-failure/</guid><description>有时候，组件之间的相互作用会以微妙的形式表现出来。例如使用pg_dump从连接池中导出数据，就可能产生连接池污染的问题。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-dump-failure/featured.jpg"/></item><item><title>PostgreSQL数据页面损坏修复</title><link>https://vonng.com/pg/page-corruption/</link><pubDate>Thu, 29 Nov 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/page-corruption/</guid><description>采用二进制编辑的方式修复PostgreSQL数据页，以及如何让一条主键查询出现两条记录来。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/page-corruption/featured.jpg"/></item><item><title>关系膨胀的监控与治理</title><link>https://vonng.com/pg/bloat/</link><pubDate>Sat, 06 Oct 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/bloat/</guid><description>PostgreSQL使用了MVCC作为主要并发控制技术，它有很多好处，但也会带来一些其他的影响，例如关系膨胀。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/bloat/featured.jpg"/></item><item><title>PipelineDB快速上手</title><link>https://vonng.com/pg/pipeline-intro/</link><pubDate>Fri, 07 Sep 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pipeline-intro/</guid><description>PipelineDB是PostgreSQL的一个扩展插件，提供流式数据处理的相关功能。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pipeline-intro/featured.jpg"/></item><item><title>TimescaleDB 快速上手</title><link>https://vonng.com/pg/timescale-install/</link><pubDate>Fri, 07 Sep 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/timescale-install/</guid><description>TimescaleDB是PostgreSQL的一个扩展插件，提供时序数据库的一些功能。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/timescale-install/featured.jpg"/></item><item><title>故障档案：PostgreSQL事务号回卷</title><link>https://vonng.com/pg/xid-wrap-around/</link><pubDate>Fri, 20 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/xid-wrap-around/</guid><description>XID WrapAround也许是PostgreSQL特有的一种故障。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/xid-wrap-around/featured.jpg"/></item><item><title>故障档案：序列号消耗过快导致整型溢出</title><link>https://vonng.com/pg/sequence-overflow/</link><pubDate>Fri, 20 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sequence-overflow/</guid><description>如果您在表上用了Interger的序列号，最好还是考虑一下可能溢出的情况。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sequence-overflow/featured.jpg"/></item><item><title>GeoIP 地理逆查询优化</title><link>https://vonng.com/pg/geoip/</link><pubDate>Sat, 07 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/geoip/</guid><description>在应用开发中，一个很常见的需求就是GeoIP转换：将请求的来源IP转换为相应的地理坐标，或者行政区划。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/geoip/featured.jpg"/></item><item><title>PostgreSQL的触发器使用注意事项</title><link>https://vonng.com/pg/sql-trigger/</link><pubDate>Sat, 07 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sql-trigger/</guid><description>详细了解PostgreSQL中触发器的管理与使用。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-trigger/featured.jpg"/></item><item><title>PostgreSQL开发规约（2018版）</title><link>https://vonng.com/pg/pg-convention-2018/</link><pubDate>Wed, 20 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-convention-2018/</guid><description>没有规矩，不成方圆。本文针对PostgreSQL数据库原理与特性，整理了一份开发规范，可以减少大家在使用PostgreSQL数据库过程中遇到的困惑。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-convention-2018/featured.jpg"/></item><item><title>PostgreSQL好处都有啥</title><link>https://vonng.com/pg/pg-is-good/</link><pubDate>Sun, 10 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-is-good/</guid><description>PostgreSQL的Slogan是&amp;quot;世界上最先进的开源关系型数据库&amp;quot;，要我说最能生动体现PG特色的口号应该是：一专多长的全栈数据库，一招鲜吃遍天。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-good/featured.jpg"/></item><item><title>KNN极致优化：从RDS到PostGIS</title><link>https://vonng.com/pg/knn-optimize/</link><pubDate>Wed, 06 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/knn-optimize/</guid><description>KNN问题极致优化，从传统关系型设计到PostGIS，实现GIS圈选场景下三万倍的性能提升。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/knn-optimize/featured.jpg"/></item><item><title>PostGIS高效解决行政区划归属查询</title><link>https://vonng.com/pg/adcode-geodecode/</link><pubDate>Wed, 06 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/adcode-geodecode/</guid><description>如何高效解决典型地理逆编码问题：根据用户的经纬度坐标，定位用户的行政区划。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/adcode-geodecode/featured.jpg"/></item><item><title>监控PG中的表大小</title><link>https://vonng.com/pg/mon-table-size/</link><pubDate>Mon, 14 May 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/mon-table-size/</guid><description>PostgreSQL中的表对应着许多物理文件，本文介绍如何统计一张表在PostgreSQL的实际大小。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/mon-table-size/featured.jpg"/></item><item><title>PgAdmin安装配置</title><link>https://vonng.com/pg/pgadmin-install/</link><pubDate>Sat, 14 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgadmin-install/</guid><description>PgAdmin是一个管理PostgreSQL的GUI程序，用python写成，但实在是过于古早，需要一些额外配置。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgadmin-install/featured.jpg"/></item><item><title>故障档案：快慢不匀雪崩</title><link>https://vonng.com/pg/download-failure/</link><pubDate>Sun, 08 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/download-failure/</guid><description>最近发生了一起匪夷所思的故障，某数据库切走了一半的数据量和负载，结果却因为负载变大被打挂了。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/download-failure/featured.jpg"/></item><item><title>Bash与psql小技巧</title><link>https://vonng.com/pg/psql-and-bash/</link><pubDate>Sat, 07 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/psql-and-bash/</guid><description>一些PostgreSQL与Bash交互的技巧。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/psql-and-bash/featured.jpg"/></item><item><title>Distinct On 去除重复数据</title><link>https://vonng.com/pg/sql-distinct-on/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sql-distinct-on/</guid><description>使用Distinct On扩展字句快速找出分组内具有最大最小值的记录。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-distinct-on/featured.jpg"/></item><item><title>函数易变性等级分类</title><link>https://vonng.com/pg/sql-func-volatility/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sql-func-volatility/</guid><description>PgSQL中的函数默认有三种易变性等级，合理使用可以显著改善性能。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-func-volatility/featured.jpg"/></item><item><title>用 Exclude 实现互斥约束</title><link>https://vonng.com/pg/sql-exclude/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sql-exclude/</guid><description>Exclude约束是一个PostgreSQL扩展，它可以实现一些更高级，更巧妙的的数据库约束。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-exclude/featured.jpg"/></item><item><title>PostgreSQL例行维护</title><link>https://vonng.com/pg/routine-maintain/</link><pubDate>Sat, 10 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/routine-maintain/</guid><description>汽车需要上油，数据库也需要维护保养。对Pg而言，有三项比较重要的维护工作：备份、重整、清理。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/routine-maintain/featured.jpg"/></item><item><title>备份恢复手段概览</title><link>https://vonng.com/pg/backup-overview/</link><pubDate>Fri, 09 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/backup-overview/</guid><description>备份是DBA的安身立命之本，有备份，就不用慌。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/backup-overview/featured.jpg"/></item><item><title>PgBackRest2中文文档</title><link>https://vonng.com/pg/pgbackrest/</link><pubDate>Wed, 07 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgbackrest/</guid><description>PgBackRest是用perl写的一组PostgreSQL备份工具。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgbackrest/featured.jpg"/></item><item><title>Pgbouncer快速上手</title><link>https://vonng.com/pg/pgbouncer-usage/</link><pubDate>Wed, 07 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pgbouncer-usage/</guid><description>Pgbouncer是一个轻量级的数据库连接池，这里简单介绍Pgbouncer的配置、管理与使用。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgbouncer-usage/featured.jpg"/></item><item><title>PG服务器日志常规配置</title><link>https://vonng.com/pg/logging/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/logging/</guid><description>建议配置PostgreSQL的日志格式为CSV，方便分析，而且可以直接导入PostgreSQL数据表中。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logging/featured.jpg"/></item><item><title>空中换引擎：PostgreSQL不停机迁移数据</title><link>https://vonng.com/pg/migration-without-downtime/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/migration-without-downtime/</guid><description>通常涉及到数据迁移，常规操作都是停服务更新。不停机迁移数据是相对比较高级的操作。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/migration-without-downtime/featured.jpg"/></item><item><title>使用FIO测试磁盘性能</title><link>https://vonng.com/pg/fio/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/fio/</guid><description>FIO可以很方便地测试磁盘IO性能。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/fio/featured.jpg"/></item><item><title>使用sysbench测试PostgreSQL性能</title><link>https://vonng.com/pg/sysbench/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/sysbench/</guid><description>尽管PostgreSQL提供了pgbench，但有时候为了吊打一下MySQL，还是需要用到sysbench的。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sysbench/featured.jpg"/></item><item><title>找出没用过的索引</title><link>https://vonng.com/pg/find-dummy-index/</link><pubDate>Sun, 04 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/find-dummy-index/</guid><description>索引很有用，但不是免费的。没用到的索引是一种浪费，使用这里的方法找出未使用的索引。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/find-dummy-index/featured.jpg"/></item><item><title>批量配置SSH免密登录</title><link>https://vonng.com/pg/ssh-add-key/</link><pubDate>Sun, 07 Jan 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/ssh-add-key/</guid><description>快速配置所有机器的免密登陆。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ssh-add-key/featured.jpg"/></item><item><title>Wireshark抓包分析协议</title><link>https://vonng.com/pg/wireshark-capture/</link><pubDate>Fri, 05 Jan 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/wireshark-capture/</guid><description>Wireshark是一个很有用的工具，特别适合用来分析网络协议，这里简单介绍使用Wireshark抓包分析PostgreSQL协议的方法。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/wireshark-capture/featured.jpg"/></item><item><title>file_fdw妙用无穷——从数据库读取系统信息</title><link>https://vonng.com/pg/file_fdw/</link><pubDate>Fri, 01 Dec 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/file_fdw/</guid><description>通过file_fdw，轻松查看操作系统信息，拉取网络数据，把各种各样的数据源轻松喂进数据库里统一查看管理。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/file_fdw/featured.jpg"/></item><item><title>Linux 常用统计 CLI 工具</title><link>https://vonng.com/pg/unix-tool/</link><pubDate>Thu, 07 Sep 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/unix-tool/</guid><description>top, free, vmstat, iostat：四大常用 CLI 工具命令速查。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/unix-tool/featured.jpg"/></item><item><title>源码编译安装 PostGIS</title><link>https://vonng.com/pg/postgis-install/</link><pubDate>Thu, 07 Sep 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/postgis-install/</guid><description>PostGIS是PG的杀手锏插件，但编译安装可不容易。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/postgis-install/featured.jpg"/></item><item><title>Go数据库教程：database/sql</title><link>https://vonng.com/pg/pg-go-driver/</link><pubDate>Thu, 24 Aug 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-go-driver/</guid><description>同JDBC类似，Go也有标准的数据库访问接口。本文详细介绍了Go语言中database/sql的使用方法和注意事项。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-go-driver/featured.jpg"/></item><item><title>GO与PG实现缓存同步</title><link>https://vonng.com/pg/notify-trigger-based-repl/</link><pubDate>Thu, 03 Aug 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/notify-trigger-based-repl/</guid><description>巧妙运用Pg的Notify功能，可以方便地通知应用元数据变更，实现基于触发器的逻辑复制。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/notify-trigger-based-repl/featured.jpg"/></item><item><title>用触发器审计数据变化</title><link>https://vonng.com/pg/audit-change/</link><pubDate>Fri, 09 Jun 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/audit-change/</guid><description>有时候，我们希望记录一些重要的元数据变更，以便事后审计之用。PostgreSQL的触发器就可以很方便地自动解决这一需求。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/audit-change/featured.jpg"/></item><item><title>SQL实现ItemCF推荐系统</title><link>https://vonng.com/pg/pg-recsys/</link><pubDate>Wed, 05 Apr 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/pg-recsys/</guid><description>用PostgreSQL 5分钟实现一个最简单ItemCF推荐系统。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-recsys/featured.jpg"/></item><item><title>UUID性质原理与应用</title><link>https://vonng.com/pg/uuid/</link><pubDate>Sun, 06 Nov 2016 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/uuid/</guid><description>UUID性质原理与应用，以及如何利用PostgreSQL的存储过程操作UUID。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/uuid/featured.jpg"/></item><item><title>PostgreSQL MongoFDW安装部署</title><link>https://vonng.com/pg/mongo_fdw-install/</link><pubDate>Sat, 28 May 2016 00:00:00 +0000</pubDate><author>rh@vonng.com (冯若航)</author><guid>https://vonng.com/pg/mongo_fdw-install/</guid><description>最近有业务要求通过PostgreSQL FDW去访问MongoDB，但是MongoDB FDW编译起来真是要人命啊。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/mongo_fdw-install/featured.jpg"/></item></channel></rss>