<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PostgreSQL Mage on Vonng</title><link>https://vonng.com/en/pg/</link><description>Recent content in PostgreSQL Mage on Vonng</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>rh@vonng.com (Ruohang Feng)</managingEditor><webMaster>rh@vonng.com (Ruohang Feng)</webMaster><copyright>© 2025 Ruohang Feng</copyright><lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://vonng.com/en/pg/index.xml" rel="self" type="application/rss+xml"/><item><title>504 Extensions: Expand the PostgreSQL Landscape</title><link>https://vonng.com/en/pg/extension-504/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/extension-504/</guid><description>One GitHub issue turned into an extension sprint. 32 new additions, 504 in total, say a lot about where PostgreSQL is headed.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/extension-504/featured.webp"/></item><item><title>Is Oracle-Compatible Postgres Actually Useful?</title><link>https://vonng.com/en/pg/ivorysql/</link><pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/ivorysql/</guid><description>A migration case with only a JAR and no source code shows why Oracle syntax compatibility is not always a fake requirement, and how IvorySQL + Pigsty can absorb legacy debt at low cost.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ivorysql/featured.webp"/></item><item><title>From AGPL to Apache: Why I Changed Pigsty's License</title><link>https://vonng.com/en/pg/pigsty-relicense/</link><pubDate>Thu, 29 Jan 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pigsty-relicense/</guid><description>Pigsty switched from AGPLv3 to Apache 2.0. Aren&amp;rsquo;t you worried about freeloaders? Freeloaders welcome — if you want to become the Debian of databases, a permissive license is table stakes.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pigsty-relicense/featured.webp"/></item><item><title>How to Actually Do PostgreSQL High Availability</title><link>https://vonng.com/en/pg/pg-ha-sota/</link><pubDate>Fri, 23 Jan 2026 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-ha-sota/</guid><description>A deep dive into the SOTA approach for PostgreSQL HA. RTO/RPO breakdown, from theory to production. If you&amp;rsquo;re still wrestling with PG HA, this might save you years.</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: Instant PostgreSQL Database Cloning</title><link>https://vonng.com/en/pg/pg-clone/</link><pubDate>Sat, 27 Dec 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-clone/</guid><description>How to instantly clone a massive PostgreSQL database without consuming extra storage? PostgreSQL 18 and XFS can spark some serious magic.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-clone/featured.jpg"/></item><item><title>Why PostgreSQL Will Dominate the AI Era</title><link>https://vonng.com/en/pg/ai-db-king/</link><pubDate>Mon, 01 Dec 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/ai-db-king/</guid><description>Context window economics, the polyglot persistence problem, and the triumph of zero-glue architecture make PostgreSQL the database king of the AI era.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ai-db-king/featured.jpg"/></item><item><title>Forging a China-Rooted, Global PostgreSQL Distro</title><link>https://vonng.com/en/pg/forge-a-pg-distro/</link><pubDate>Thu, 27 Nov 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/forge-a-pg-distro/</guid><description>PostgreSQL already won. The real battle is the distro layer. Will Chinese developers watch from the sideline or craft a PG “Ubuntu” for the world?</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 Extension Cloud: Unlocking PostgreSQL’s Entire Ecosystem</title><link>https://vonng.com/en/pg/pgext-cloud/</link><pubDate>Wed, 12 Nov 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgext-cloud/</guid><description>Free, open, no VPN. Install PostgreSQL and 431 extensions on 14 Linux distros × 6 PG versions via native RPM/DEB—and a tiny CLI.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgext-cloud/featured.jpg"/></item><item><title>The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply Chain</title><link>https://vonng.com/en/pg/pg-mirror-pigsty/</link><pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-mirror-pigsty/</guid><description>PostgreSQL official repos cut off global mirror sync channels, open-source binaries supply disrupted, revealing the true colors of various database and cloud vendors.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-mirror-pigsty/featured.jpg"/></item><item><title>Column: Postgres Mage</title><link>https://vonng.com/en/pg/mage/</link><pubDate>Fri, 08 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/mage/</guid><description>Navigation of articles about PostgreSQL development, administration, principles, ecosystem, tools, architecture design, performance optimization, troubleshooting, and more.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/mage/featured.jpg"/></item><item><title>PostgreSQL Dominates Database World, but Who Will Devour PG?</title><link>https://vonng.com/en/pg/proprity-pg/</link><pubDate>Tue, 05 Aug 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/proprity-pg/</guid><description>The same forces that once led MongoDB and MySQL toward closure are now at work in the PostgreSQL ecosystem. The PG world needs a distribution that represents &amp;ldquo;software freedom&amp;rdquo; values.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/proprity-pg/featured.jpg"/></item><item><title>PostgreSQL Has Dominated the Database World</title><link>https://vonng.com/en/pg/so2025-pg/</link><pubDate>Thu, 31 Jul 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/so2025-pg/</guid><description>The 2025 SO global developer survey results are fresh out, and PostgreSQL has become the most popular, most loved, and most wanted database for the third consecutive year. Nothing can stop PostgreSQL from consolidating the entire database world!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/so2025-pg/featured.jpg"/></item><item><title>PGDG Cuts Off Mirror Sync Channel</title><link>https://vonng.com/en/pg/pg-mirror-break/</link><pubDate>Mon, 07 Jul 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-mirror-break/</guid><description>PGDG cuts off FTP rsync sync channels, global mirror sites universally disconnected - this time they really strangled global users&amp;rsquo; supply chain.</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 - See You There!</title><link>https://vonng.com/en/pg/pgext-day/</link><pubDate>Wed, 09 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgext-day/</guid><description>The annual PostgreSQL developer conference will be held in Montreal in May. Like the first PG Con.Dev, there&amp;rsquo;s also an additional dedicated event - 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 is Coming! 4x Performance, Eliminates Pain Points, Storage-Compute Separation</title><link>https://vonng.com/en/pg/orioledb-is-coming/</link><pubDate>Sun, 06 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/orioledb-is-coming/</guid><description>A PG kernel fork acquired by Supabase, claiming to solve PG&amp;rsquo;s XID wraparound problem, eliminate table bloat issues, improve performance by 4x, and support cloud-native storage. Now part of the Pigsty family.</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 Wire-Compatible PostgreSQL is Here!</title><link>https://vonng.com/en/pg/openhalo-mysql/</link><pubDate>Thu, 03 Apr 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/openhalo-mysql/</guid><description>What? PostgreSQL can now be accessed using MySQL clients? That&amp;rsquo;s right, openHalo, which was open-sourced on April Fool&amp;rsquo;s Day, provides exactly this capability and has now joined the Pigsty kernel family.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/openhalo-mysql/featured.jpg"/></item><item><title>PGFS: Using Database as a Filesystem</title><link>https://vonng.com/en/pg/pgfs/</link><pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgfs/</guid><description>Leverage JuiceFS to turn PostgreSQL into a filesystem with PITR capabilities!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgfs/featured.jpg"/></item><item><title>PostgreSQL Ecosystem Frontier Developments</title><link>https://vonng.com/en/pg/pg-frontier/</link><pubDate>Fri, 24 Jan 2025 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-frontier/</guid><description>Sharing some interesting recent developments in the PG ecosystem.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-frontier/featured.jpg"/></item><item><title>Pig, The Postgres Extension Wizard</title><link>https://vonng.com/en/pg/pig/</link><pubDate>Sun, 29 Dec 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pig/</guid><description>Why would we need yet another package manager for PostgreSQL &amp;amp; extensions?</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pig/featured.jpg"/></item><item><title>Don't Upgrade! Released and Immediately Pulled - Even PostgreSQL Isn't Immune to Epic Fails</title><link>https://vonng.com/en/pg/pg-faint/</link><pubDate>Sat, 16 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-faint/</guid><description>Never deploy on Friday, or you&amp;rsquo;ll be working all weekend! PostgreSQL minor releases were pulled on the day of release, requiring emergency rollback.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-faint/featured.webp"/></item><item><title>PostgreSQL 12 End-of-Life, PG 17 Takes the Throne</title><link>https://vonng.com/en/pg/pg12-eol-pg17-up/</link><pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg12-eol-pg17-up/</guid><description>PG17 achieved extension ecosystem adaptation in half the time of PG16, with 300 available extensions ready for production use. PG 12 officially exits support lifecycle.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg12-eol-pg17-up/featured.jpg"/></item><item><title>The Ideal Way to Deliver PostgreSQL Extensions</title><link>https://vonng.com/en/pg/pg-ext-repo/</link><pubDate>Sat, 02 Nov 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-ext-repo/</guid><description>PostgreSQL is eating the database world through extensibility. This post introduces the Pigsty extension repository, which packaged 390 PostgreSQL extensions at launch and keeps growing through the Pigsty extension catalog.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-ext-repo/featured.jpg"/></item><item><title>PostgreSQL 17 Released: No More Pretending!</title><link>https://vonng.com/en/pg/pg-17/</link><pubDate>Thu, 26 Sep 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-17/</guid><description>PostgreSQL is now the world&amp;rsquo;s most advanced open-source database and has become the preferred open-source database for organizations of all sizes, matching or exceeding top commercial databases.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-17/featured.jpg"/></item><item><title>Can PostgreSQL Replace Microsoft SQL Server?</title><link>https://vonng.com/en/pg/pg-replace-mssql/</link><pubDate>Mon, 02 Sep 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-replace-mssql/</guid><description>PostgreSQL can directly replace Oracle, SQL Server, and MongoDB at the kernel level. Of course, the most thorough replacement is SQL Server - AWS&amp;rsquo;s Babelfish provides wire-protocol-level compatibility.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-replace-mssql/featured.jpg"/></item><item><title>Whoever Integrates DuckDB Best Wins the OLAP World</title><link>https://vonng.com/en/pg/pg-duckdb/</link><pubDate>Tue, 13 Aug 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-duckdb/</guid><description>Just like the vector database extension race two years ago, the current PostgreSQL ecosystem extension competition has begun revolving around DuckDB. MotherDuck&amp;rsquo;s official entry into the PostgreSQL extension space undoubtedly signals that competition has entered white-hot territory.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-duckdb/featured.jpg"/></item><item><title>StackOverflow 2024 Survey: PostgreSQL Has Gone Completely Berserk</title><link>https://vonng.com/en/pg/pg-is-no1-again/</link><pubDate>Thu, 25 Jul 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-is-no1-again/</guid><description>The 2024 StackOverflow Global Developer Survey results are fresh out, and PostgreSQL has become the most popular, most loved, and most wanted database globally for the second consecutive year. Nothing can stop PostgreSQL from devouring the entire database world anymore!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-no1-again/featured.png"/></item><item><title>Self-Hosting Dify with PG, PGVector, and Pigsty</title><link>https://vonng.com/en/pg/dify-setup/</link><pubDate>Sat, 22 Jun 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/dify-setup/</guid><description>Dify is an open-source LLM app development platform. This article explains how to self-host Dify using Pigsty.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/dify-setup/featured.webp"/></item><item><title>PGCon.Dev 2024, The conf that shutdown PG for a week</title><link>https://vonng.com/en/pg/pgcondev-2024/</link><pubDate>Mon, 17 Jun 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgcondev-2024/</guid><description>Experience &amp;amp; Feeling on the PGCon.Dev 2024</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 Released!</title><link>https://vonng.com/en/pg/pg-17-beta1/</link><pubDate>Fri, 24 May 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-17-beta1/</guid><description>The PostgreSQL Global Development Group announces PostgreSQL 17&amp;rsquo;s first Beta version is now available. This time, PostgreSQL has truly burst the toothpaste tube!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-17-beta1/featured.jpg"/></item><item><title>Postgres is eating the database world</title><link>https://vonng.com/en/pg/pg-eat-db-world/</link><pubDate>Mon, 04 Mar 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-eat-db-world/</guid><description>PostgreSQL isn&amp;rsquo;t just a simple relational database; it&amp;rsquo;s a data management framework with the potential to engulf the entire database realm.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-eat-db-world/featured.jpg"/></item><item><title>Technical Minimalism: Just Use PostgreSQL for Everything</title><link>https://vonng.com/en/pg/just-use-pg/</link><pubDate>Mon, 19 Feb 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/just-use-pg/</guid><description>Whether &lt;strong&gt;production databases&lt;/strong&gt; should be containerized remains a controversial topic. From a DBA&amp;rsquo;s perspective, I believe that &lt;strong&gt;currently&lt;/strong&gt;, putting production databases in Docker is still a bad idea.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/just-use-pg/featured.jpg"/></item><item><title>New PostgreSQL Ecosystem Player: ParadeDB</title><link>https://vonng.com/en/pg/paradedb/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/paradedb/</guid><description>ParadeDB aims to be an Elasticsearch alternative: &amp;ldquo;Modern Elasticsearch Alternative built on Postgres&amp;rdquo; — PostgreSQL for search and analytics.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/paradedb/featured.jpg"/></item><item><title>PostgreSQL's Impressive Scalability</title><link>https://vonng.com/en/pg/pg-scalability/</link><pubDate>Sat, 13 Jan 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-scalability/</guid><description>This article describes how Cloudflare scaled to support 55 million requests per second using 15 PostgreSQL clusters, and PostgreSQL&amp;rsquo;s scalability performance.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-scalability/featured.jpg"/></item><item><title>PostgreSQL Wins 2024 Database of the Year Award! (Fifth Time)</title><link>https://vonng.com/en/pg/pg-dbeng-2024/</link><pubDate>Fri, 05 Jan 2024 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-dbeng-2024/</guid><description>DB-Engines officially announced today that PostgreSQL has once again been crowned &amp;ldquo;Database of the Year.&amp;rdquo; This is the fifth time PG has received this honor in the past seven years. If not for Snowflake stealing the spotlight for two years, the database world would have almost become a PostgreSQL solo show.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-dbeng-2024/featured.jpg"/></item><item><title>PostgreSQL Convention 2024</title><link>https://vonng.com/en/pg/pg-convention/</link><pubDate>Mon, 27 Nov 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-convention/</guid><description>No rules, no standards. Some developer conventions for PostgreSQL 16.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-convention/featured.jpg"/></item><item><title>PostgreSQL Macro Query Optimization with pg_stat_statements</title><link>https://vonng.com/en/pg/pgss/</link><pubDate>Thu, 26 Oct 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgss/</guid><description>&lt;strong&gt;Query optimization&lt;/strong&gt; is one of the core responsibilities of DBAs. This article introduces how to use metrics provided by &lt;code&gt;pg_stat_statements&lt;/code&gt; for macro-level PostgreSQL query optimization.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgss/featured.jpg"/></item><item><title>FerretDB: PostgreSQL Disguised as MongoDB</title><link>https://vonng.com/en/pg/ferretdb/</link><pubDate>Sun, 08 Oct 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/ferretdb/</guid><description>FerretDB aims to provide a truly open-source MongoDB alternative based on PostgreSQL.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ferretdb/featured.jpg"/></item><item><title>How to Use pg_filedump for Data Recovery?</title><link>https://vonng.com/en/pg/pg-filedump/</link><pubDate>Wed, 27 Sep 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-filedump/</guid><description>Backups are a DBA&amp;rsquo;s lifeline — but what if your PostgreSQL database has already exploded and you have no backups? Maybe &lt;code&gt;pg_filedump&lt;/code&gt; can help you!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-filedump/featured.jpg"/></item><item><title>PostgreSQL, The most successful database</title><link>https://vonng.com/en/pg/pg-is-no1/</link><pubDate>Wed, 28 Jun 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-is-no1/</guid><description>StackOverflow 2023 Survey shows PostgreSQL is the most popular, loved, and wanted database, solidifying its status as the &amp;lsquo;Linux of Database&amp;rsquo;.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-no1/featured.jpg"/></item><item><title>AI Large Models and Vector Database PGVector</title><link>https://vonng.com/en/pg/llm-and-pgvector/</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/llm-and-pgvector/</guid><description>This article focuses on vector databases hyped by AI, introduces the basic principles of AI embeddings and vector storage/retrieval, and demonstrates the functionality, performance, acquisition, and application of the vector database extension PGVECTOR through a concrete knowledge base retrieval case study.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/llm-and-pgvector/featured.jpg"/></item><item><title>How Powerful is PostgreSQL Really?</title><link>https://vonng.com/en/pg/pg-performence/</link><pubDate>Mon, 22 Aug 2022 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-performence/</guid><description>Let performance data speak: Why PostgreSQL is the world&amp;rsquo;s most advanced open-source relational database, aka the world&amp;rsquo;s most successful database. MySQL vs PostgreSQL performance showdown and distributed database reality check.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-performence/featured.jpg"/></item><item><title>Why PostgreSQL is the Most Successful Database?</title><link>https://vonng.com/en/pg/pg-is-best/</link><pubDate>Tue, 12 Jul 2022 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-is-best/</guid><description>Database users are developers, but what about developers&amp;rsquo; preferences, likes, and choices? Looking at StackOverflow survey results over the past six years, it&amp;rsquo;s clear that in 2022, PostgreSQL has won all three categories, becoming literally the &amp;ldquo;most successful database&amp;rdquo;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-best/featured.jpg"/></item><item><title>Ready-to-Use PostgreSQL Distribution: Pigsty</title><link>https://vonng.com/en/pg/pigsty-intro/</link><pubDate>Mon, 24 May 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pigsty-intro/</guid><description>Yesterday I gave a live presentation in the PostgreSQL Chinese community, introducing the open-source PostgreSQL full-stack solution — Pigsty</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pigsty-intro/featured.jpg"/></item><item><title>Why Does PostgreSQL Have a Bright Future?</title><link>https://vonng.com/en/pg/pg-is-great/</link><pubDate>Sat, 08 May 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-is-great/</guid><description>Databases are the core component of information systems, relational databases are the absolute backbone of databases, and PostgreSQL is the world&amp;rsquo;s most advanced open source relational database. With such favorable timing and positioning, how can it not achieve great success?</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-great/featured.jpg"/></item><item><title>Implementing Advanced Fuzzy Search</title><link>https://vonng.com/en/pg/fuzzymatch/</link><pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/fuzzymatch/</guid><description>How to implement relatively complex fuzzy search logic in PostgreSQL?</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/fuzzymatch/featured.jpg"/></item><item><title>Localization and Collation Rules in PostgreSQL</title><link>https://vonng.com/en/pg/collate/</link><pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/collate/</guid><description>What? Don&amp;rsquo;t know what COLLATION is? Remember one thing: using C COLLATE is always the right choice!</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/collate/featured.jpg"/></item><item><title>PG Replica Identity Explained</title><link>https://vonng.com/en/pg/replica-identity/</link><pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/replica-identity/</guid><description>Replica identity is important - it determines the success or failure of logical replication</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/replica-identity/featured.jpg"/></item><item><title>PostgreSQL Logical Replication Deep Dive</title><link>https://vonng.com/en/pg/logical-replication/</link><pubDate>Wed, 03 Mar 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/logical-replication/</guid><description>This article introduces the principles and best practices of logical replication in PostgreSQL 13.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logical-replication/featured.jpg"/></item><item><title>A Methodology for Diagnosing PostgreSQL Slow Queries</title><link>https://vonng.com/en/pg/slow-query/</link><pubDate>Tue, 23 Feb 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/slow-query/</guid><description>Slow queries are the sworn enemy of OLTP databases. Here’s how to identify, analyze, and fix them using metrics (Pigsty dashboards), pg_stat_statements, and logs.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/slow-query/featured.jpg"/></item><item><title>Incident-Report: Patroni Failure Due to Time Travel</title><link>https://vonng.com/en/pg/time-travel/</link><pubDate>Mon, 22 Feb 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/time-travel/</guid><description>Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/time-travel/featured.jpg"/></item><item><title>Online Primary Key Column Type Change</title><link>https://vonng.com/en/pg/alter-type/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/alter-type/</guid><description>How to change column types online, such as upgrading from INT to BIGINT?</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/alter-type/featured.jpg"/></item><item><title>Golden Monitoring Metrics: Errors, Latency, Throughput, Saturation</title><link>https://vonng.com/en/pg/golden-metrics/</link><pubDate>Fri, 06 Nov 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/golden-metrics/</guid><description>Understanding the golden monitoring metrics in PostgreSQL</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/golden-metrics/featured.jpg"/></item><item><title>Database Cluster Management Concepts and Entity Naming Conventions</title><link>https://vonng.com/en/pg/entity-and-naming/</link><pubDate>Wed, 03 Jun 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/entity-and-naming/</guid><description>Concepts and their naming are very important. Naming style reflects an engineer&amp;rsquo;s understanding of system architecture. Poorly defined concepts lead to communication confusion, while carelessly set names create unexpected additional burden. Therefore, they need careful design.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/entity-and-naming/featured.jpg"/></item><item><title>PostgreSQL's KPI</title><link>https://vonng.com/en/pg/pg-load/</link><pubDate>Fri, 29 May 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-load/</guid><description>Managing databases is similar to managing people - both need KPIs (Key Performance Indicators). So what are database KPIs? This article introduces a way to measure PostgreSQL load: using a single horizontally comparable metric that is basically independent of workload type and machine type, called &lt;strong&gt;PG Load&lt;/strong&gt;.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-load/featured.jpg"/></item><item><title>Online PostgreSQL Column Type Migration</title><link>https://vonng.com/en/pg/migrate-column-type/</link><pubDate>Thu, 30 Jan 2020 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/migrate-column-type/</guid><description>How to modify PostgreSQL column types online? A general approach</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/migrate-column-type/featured.jpg"/></item><item><title>Frontend-Backend Communication Wire Protocol</title><link>https://vonng.com/en/pg/wire-protocol/</link><pubDate>Tue, 12 Nov 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/wire-protocol/</guid><description>Understanding the TCP protocol used for communication between PostgreSQL server and client, and printing messages using Go</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/wire-protocol/featured.jpg"/></item><item><title>Transaction Isolation Level Considerations</title><link>https://vonng.com/en/pg/isolation-level/</link><pubDate>Tue, 12 Nov 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/isolation-level/</guid><description>PostgreSQL actually has only two transaction isolation levels: &lt;strong&gt;Read Committed&lt;/strong&gt; and &lt;strong&gt;Serializable&lt;/strong&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/isolation-level/featured.jpg"/></item><item><title>Incident: PostgreSQL Extension Installation Causes Connection Failure</title><link>https://vonng.com/en/pg/extension/</link><pubDate>Thu, 13 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/extension/</guid><description>Today encountered an interesting case where a customer reported database connection issues caused by extensions.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/extension/featured.jpg"/></item><item><title>CDC Change Data Capture Mechanisms</title><link>https://vonng.com/en/pg/logical-decoding/</link><pubDate>Wed, 12 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/logical-decoding/</guid><description>Change Data Capture is an interesting ETL alternative solution.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logical-decoding/featured.jpg"/></item><item><title>Locks in PostgreSQL</title><link>https://vonng.com/en/pg/pg-lock/</link><pubDate>Tue, 11 Jun 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-lock/</guid><description>Snapshot isolation does most of the heavy lifting in PG, but locks still matter. Here’s a practical guide to table locks, row locks, intention locks, and &lt;code&gt;pg_locks&lt;/code&gt;.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-lock/featured.jpg"/></item><item><title>O(n2) Complexity of GIN Search</title><link>https://vonng.com/en/pg/gin/</link><pubDate>Fri, 12 Apr 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/gin/</guid><description>When GIN indexes are used to search with very long keyword lists, performance degrades significantly. This article explains why GIN index keyword search has O(n^2) time complexity.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/gin/featured.jpg"/></item><item><title>PostgreSQL Common Replication Topology Plans</title><link>https://vonng.com/en/pg/replication-plan/</link><pubDate>Fri, 29 Mar 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/replication-plan/</guid><description>Replication is one of the core issues in system architecture.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/replication-plan/featured.jpg"/></item><item><title>Warm Standby: Using pg_receivewal</title><link>https://vonng.com/en/pg/backup-plan/</link><pubDate>Sat, 02 Mar 2019 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/backup-plan/</guid><description>There are various backup strategies. Physical backups can usually be divided into four types.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/backup-plan/featured.jpg"/></item><item><title>Incident-Report: Connection-Pool Contamination Caused by pg_dump</title><link>https://vonng.com/en/pg/pg-dump-failure/</link><pubDate>Tue, 11 Dec 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-dump-failure/</guid><description>Sometimes, interactions between components manifest in subtle ways. For example, using pg_dump to export data from a connection pool can cause connection pool contamination issues.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-dump-failure/featured.jpg"/></item><item><title>PostgreSQL Data Page Corruption Repair</title><link>https://vonng.com/en/pg/page-corruption/</link><pubDate>Thu, 29 Nov 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/page-corruption/</guid><description>Using binary editing to repair PostgreSQL data pages, and how to make a primary key query return two records.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/page-corruption/featured.jpg"/></item><item><title>Relation Bloat Monitoring and Management</title><link>https://vonng.com/en/pg/bloat/</link><pubDate>Sat, 06 Oct 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/bloat/</guid><description>PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/bloat/featured.jpg"/></item><item><title>Getting Started with PipelineDB</title><link>https://vonng.com/en/pg/pipeline-intro/</link><pubDate>Fri, 07 Sep 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pipeline-intro/</guid><description>PipelineDB is a PostgreSQL extension for streaming analytics. Here’s how to install it and build continuous views over live data.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pipeline-intro/featured.jpg"/></item><item><title>TimescaleDB Quick Start</title><link>https://vonng.com/en/pg/timescale-install/</link><pubDate>Fri, 07 Sep 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/timescale-install/</guid><description>TimescaleDB is a PostgreSQL extension plugin that provides time-series database functionality.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/timescale-install/featured.jpg"/></item><item><title>Incident-Report: Integer Overflow from Rapid Sequence Number Consumption</title><link>https://vonng.com/en/pg/sequence-overflow/</link><pubDate>Fri, 20 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sequence-overflow/</guid><description>If you use Integer sequences on tables, you should consider potential overflow scenarios.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sequence-overflow/featured.jpg"/></item><item><title>Incident-Report: PostgreSQL Transaction ID Wraparound</title><link>https://vonng.com/en/pg/xid-wrap-around/</link><pubDate>Fri, 20 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/xid-wrap-around/</guid><description>XID WrapAround is perhaps a unique type of failure specific to PostgreSQL</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/xid-wrap-around/featured.jpg"/></item><item><title>GeoIP Geographic Reverse Lookup Optimization</title><link>https://vonng.com/en/pg/geoip/</link><pubDate>Sat, 07 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/geoip/</guid><description>A common requirement in application development is GeoIP conversion - converting source IP addresses to geographic coordinates or administrative divisions (country-state-city-county-town-village)</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/geoip/featured.jpg"/></item><item><title>PostgreSQL Trigger Usage Considerations</title><link>https://vonng.com/en/pg/sql-trigger/</link><pubDate>Sat, 07 Jul 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sql-trigger/</guid><description>Detailed understanding of trigger management and usage in PostgreSQL</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-trigger/featured.jpg"/></item><item><title>PostgreSQL Development Convention (2018 Edition)</title><link>https://vonng.com/en/pg/pg-convention-2018/</link><pubDate>Wed, 20 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-convention-2018/</guid><description>Without rules, there can be no order. This article compiles a development specification for PostgreSQL database principles and features, which can reduce confusion encountered when using PostgreSQL.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-convention-2018/featured.jpg"/></item><item><title>What Are PostgreSQL's Advantages?</title><link>https://vonng.com/en/pg/pg-is-good/</link><pubDate>Sun, 10 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-is-good/</guid><description>PostgreSQL&amp;rsquo;s slogan is &amp;ldquo;The World&amp;rsquo;s Most Advanced Open-Source Relational Database,&amp;rdquo; but I think the most vivid characterization should be: The Full-Stack Database That Does It All - one tool to rule them all.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-is-good/featured.jpg"/></item><item><title>Efficient Administrative Region Lookup with PostGIS</title><link>https://vonng.com/en/pg/adcode-geodecode/</link><pubDate>Wed, 06 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/adcode-geodecode/</guid><description>How to efficiently solve the typical reverse geocoding problem: determining administrative regions based on user coordinates.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/adcode-geodecode/featured.jpg"/></item><item><title>KNN Ultimate Optimization: From RDS to PostGIS</title><link>https://vonng.com/en/pg/knn-optimize/</link><pubDate>Wed, 06 Jun 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/knn-optimize/</guid><description>Ultimate optimization of KNN problems, from traditional relational design to PostGIS</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/knn-optimize/featured.jpg"/></item><item><title>Monitoring Table Size in PostgreSQL</title><link>https://vonng.com/en/pg/mon-table-size/</link><pubDate>Mon, 14 May 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/mon-table-size/</guid><description>Tables in PostgreSQL correspond to many physical files. This article explains how to calculate the actual size of a table in 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 Installation and Configuration</title><link>https://vonng.com/en/pg/pgadmin-install/</link><pubDate>Sat, 14 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgadmin-install/</guid><description>PgAdmin is a GUI program for managing PostgreSQL, written in Python, but it&amp;rsquo;s quite dated and requires some additional configuration.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgadmin-install/featured.jpg"/></item><item><title>Incident-Report: Uneven Load Avalanche</title><link>https://vonng.com/en/pg/download-failure/</link><pubDate>Sun, 08 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/download-failure/</guid><description>Recently there was a perplexing incident where a database had half its data volume and load migrated away, but ended up being overwhelmed due to increased load.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/download-failure/featured.jpg"/></item><item><title>Distinct On: Remove Duplicate Data</title><link>https://vonng.com/en/pg/sql-distinct-on/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sql-distinct-on/</guid><description>Use Distinct On extension clause to quickly find records with maximum/minimum values within groups</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-distinct-on/featured.jpg"/></item><item><title>Function Volatility Classification Levels</title><link>https://vonng.com/en/pg/sql-func-volatility/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sql-func-volatility/</guid><description>PostgreSQL functions have three volatility levels by default. Proper use can significantly improve performance.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-func-volatility/featured.jpg"/></item><item><title>Implementing Mutual Exclusion Constraints with Exclude</title><link>https://vonng.com/en/pg/sql-exclude/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sql-exclude/</guid><description>Exclude constraint is a PostgreSQL extension that can implement more advanced and sophisticated database constraints.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sql-exclude/featured.jpg"/></item><item><title>PostgreSQL Routine Maintenance</title><link>https://vonng.com/en/pg/routine-maintain/</link><pubDate>Sat, 10 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/routine-maintain/</guid><description>Cars need oil changes, databases need maintenance. For PG, three important maintenance tasks: backup, repack, vacuum</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/routine-maintain/featured.jpg"/></item><item><title>Backup and Recovery Methods Overview</title><link>https://vonng.com/en/pg/backup-overview/</link><pubDate>Fri, 09 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/backup-overview/</guid><description>Backup is the foundation of a DBA&amp;rsquo;s livelihood. With backups, there&amp;rsquo;s no need to panic.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/backup-overview/featured.jpg"/></item><item><title>PgBackRest2 Documentation</title><link>https://vonng.com/en/pg/pgbackrest/</link><pubDate>Wed, 07 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgbackrest/</guid><description>PgBackRest is a set of PostgreSQL backup tools written in Perl</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgbackrest/featured.jpg"/></item><item><title>Pgbouncer Quick Start</title><link>https://vonng.com/en/pg/pgbouncer-usage/</link><pubDate>Wed, 07 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pgbouncer-usage/</guid><description>Pgbouncer is a lightweight database connection pool. This guide covers basic Pgbouncer configuration, management, and usage.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pgbouncer-usage/featured.jpg"/></item><item><title>PostgreSQL Server Log Regular Configuration</title><link>https://vonng.com/en/pg/logging/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/logging/</guid><description>It&amp;rsquo;s recommended to configure PostgreSQL&amp;rsquo;s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/logging/featured.jpg"/></item><item><title>Testing Disk Performance with FIO</title><link>https://vonng.com/en/pg/fio/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/fio/</guid><description>FIO is a convenient tool for testing disk I/O performance</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/fio/featured.jpg"/></item><item><title>Using sysbench to Test PostgreSQL Performance</title><link>https://vonng.com/en/pg/sysbench/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/sysbench/</guid><description>Although PostgreSQL provides pgbench, sometimes you need sysbench to outperform MySQL.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/sysbench/featured.jpg"/></item><item><title>Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data Migration</title><link>https://vonng.com/en/pg/migration-without-downtime/</link><pubDate>Tue, 06 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/migration-without-downtime/</guid><description>Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/migration-without-downtime/featured.jpg"/></item><item><title>Finding Unused Indexes</title><link>https://vonng.com/en/pg/find-dummy-index/</link><pubDate>Sun, 04 Feb 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/find-dummy-index/</guid><description>Indexes are useful, but they&amp;rsquo;re not free. Unused indexes are a waste. Use these methods to identify unused indexes.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/find-dummy-index/featured.jpg"/></item><item><title>Batch Configure SSH Passwordless Login</title><link>https://vonng.com/en/pg/ssh-add-key/</link><pubDate>Sun, 07 Jan 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/ssh-add-key/</guid><description>Quick configuration for passwordless login to all machines</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/ssh-add-key/featured.jpg"/></item><item><title>Wireshark Packet Capture Protocol Analysis</title><link>https://vonng.com/en/pg/wireshark-capture/</link><pubDate>Fri, 05 Jan 2018 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/wireshark-capture/</guid><description>Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here&amp;rsquo;s a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/wireshark-capture/featured.jpg"/></item><item><title>The Versatile file_fdw — Reading System Information from Your Database</title><link>https://vonng.com/en/pg/file_fdw/</link><pubDate>Fri, 01 Dec 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/file_fdw/</guid><description>With &lt;code&gt;file_fdw&lt;/code&gt;, you can easily view operating system information, fetch network data, and feed various data sources into your database for unified viewing and management.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/file_fdw/featured.jpg"/></item><item><title>Common Linux Statistics CLI Tools</title><link>https://vonng.com/en/pg/unix-tool/</link><pubDate>Thu, 07 Sep 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/unix-tool/</guid><description>top, free, vmstat, iostat: Quick reference for four commonly used CLI tools</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/unix-tool/featured.jpg"/></item><item><title>Installing PostGIS from Source</title><link>https://vonng.com/en/pg/postgis-install/</link><pubDate>Thu, 07 Sep 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/postgis-install/</guid><description>PostGIS is PostgreSQL&amp;rsquo;s killer extension, but compiling and installing it isn&amp;rsquo;t easy.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/postgis-install/featured.jpg"/></item><item><title>Go Database Tutorial: database/sql</title><link>https://vonng.com/en/pg/pg-go-driver/</link><pubDate>Thu, 24 Aug 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-go-driver/</guid><description>Similar to JDBC, Go also has a standard database access interface. This article details how to use database/sql in Go and important considerations.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-go-driver/featured.jpg"/></item><item><title>Implementing Cache Synchronization with Go and PostgreSQL</title><link>https://vonng.com/en/pg/notify-trigger-based-repl/</link><pubDate>Thu, 03 Aug 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/notify-trigger-based-repl/</guid><description>Cleverly utilizing PostgreSQL&amp;rsquo;s Notify feature, you can conveniently notify applications of metadata changes and implement trigger-based logical replication.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/notify-trigger-based-repl/featured.jpg"/></item><item><title>Auditing Data Changes with Triggers</title><link>https://vonng.com/en/pg/audit-change/</link><pubDate>Fri, 09 Jun 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/audit-change/</guid><description>Sometimes we want to record important metadata changes for audit purposes. PostgreSQL triggers can conveniently solve this need automatically.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/audit-change/featured.jpg"/></item><item><title>Building an ItemCF Recommender in Pure SQL</title><link>https://vonng.com/en/pg/pg-recsys/</link><pubDate>Wed, 05 Apr 2017 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/pg-recsys/</guid><description>Five minutes, PostgreSQL, and the MovieLens dataset—that’s all you need to implement a classic item-based collaborative filtering recommender.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/pg-recsys/featured.jpg"/></item><item><title>UUID Properties, Principles and Applications</title><link>https://vonng.com/en/pg/uuid/</link><pubDate>Sun, 06 Nov 2016 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/uuid/</guid><description>UUID properties, principles and applications, and how to manipulate UUIDs using PostgreSQL stored procedures.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/uuid/featured.jpg"/></item><item><title>PostgreSQL MongoFDW Installation and Deployment</title><link>https://vonng.com/en/pg/mongo_fdw-install/</link><pubDate>Sat, 28 May 2016 00:00:00 +0000</pubDate><author>rh@vonng.com (Ruohang Feng)</author><guid>https://vonng.com/en/pg/mongo_fdw-install/</guid><description>Recently had business requirements to access MongoDB through PostgreSQL FDW, but compiling MongoDB FDW is really a nightmare.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://vonng.com/pg/mongo_fdw-install/featured.jpg"/></item></channel></rss>