<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PG-Admin on Vonng</title><link>https://vonng.com/en/tags/pg-admin/</link><description>Recent content in PG-Admin 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>Fri, 15 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://vonng.com/en/tags/pg-admin/index.xml" rel="self" type="application/rss+xml"/><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>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>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>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>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>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>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>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>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>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>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>