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