Skip to content

PostgreSQL Mage

Ruohang Feng @Vonng / Pigsty

PostgreSQL ecosystem news, plus development, operations, internals and tuning.

PostgreSQL Mage
PostgreSQL Ecosystem Update: The AI Bug-Hunting CrunchPostgreSQLAIPG EcosystemExtension
Taking Over Another PostgreSQL Extension: vchord Yesterday, pg_mooncake TodayPostgreSQLExtensionOpen Source
Why I'm Maintaining a VectorChord ForkPostgreSQLPG EcosystemOpen Source
Reviving the Chinese-Speaking PostgreSQL CommunityPostgreSQLPG EcosystemOpen Source
Why Localize PostgreSQL into Chinese?PostgreSQLPG EcosystemDocumentation
PostgreSQL 19 Beta 4: Five Major Features RevertedPostgreSQLPG DevelopmentCommentary
PostgreSQL's Chinese Translations Went Seven Years Untended. I Fixed Them in Seven Days.PostgreSQLTranslation
Chinese PostgreSQL Docs Are Live: All 11 Major VersionsPostgreSQLDocumentationTranslationPG Ecosystem
Happy 30th Birthday, PostgreSQLPostgreSQLPG EcosystemOpen Source
Instantly Clone PostgreSQL Databases—No Black Magic RequiredPostgreSQLPigstyTools
What Is a PostgreSQL Distribution?PostgreSQLPigsty
PostgreSQL Turns 30PostgreSQLPG Ecosystem
Attending PGConf.dev 2026: PostgreSQL's 30th Anniversary Developer ConferencePostgreSQLPG EcosystemEssay
Extensions for EveryonePostgreSQLPG EcosystemExtension
PGConf.Dev 2026 Opens Today in VancouverPostgreSQLPG Ecosystem
The pgBackRest Rescue and Open Source's Forced Price DiscoveryPostgreSQLPG EcosystemOpen Source
pgBackRest is No Longer MaintainedPostgreSQLPG EcosystemOpen Source
504 Extensions: Expand the PostgreSQL LandscapePostgreSQLPG EcosystemExtension
PostgreSQL vs. MySQL in 2026PostgreSQLMySQLPG Ecosystem
Chinese Docs for Five PostgreSQL Versions Are Now LivePostgreSQLDocumentationTranslation
pg.center: A Chinese Mirror of the PostgreSQL WebsitePostgreSQLDocumentationPG Ecosystem
464 PostgreSQL Extensions Out of the Box: Launching the New PG Extension CatalogPostgreSQLExtensionDocumentation
PostgreSQL Out-of-Cycle Emergency Minor Releases Are OutPostgreSQLPG AdminSecurity
Is Oracle-Compatible Postgres Actually Useful?PostgreSQLOracleDomestic Database
Urgent Advisory: Pause PostgreSQL Minor-Release Installs and UpgradesPostgreSQLPG Admin
First Chinese PostgreSQL Vendor on the PGConf.dev Main StagePostgreSQLPG Ecosystem
From AGPL to Apache: Why I Changed Pigsty's LicensePigstyOpen Source
How to Actually Do PostgreSQL High AvailabilityPostgreSQLPG Admin
How to Get Up to Speed with PostgreSQL FastPostgreSQLDocumentation
Git for Data: Instant PostgreSQL Database CloningPostgreSQLPG DevelopmentGIS
Why PostgreSQL Will Dominate the AI EraPostgreSQLAIDatabase
Forging a China-Rooted, Global PostgreSQL DistroPostgreSQLPigsty
Is PostgreSQL 18 Ready for Production?PostgreSQLPG AdminExtension
PG Extension Cloud: Unlocking PostgreSQL’s Entire EcosystemPostgreSQLExtension
The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply ChainPostgreSQLPG Admin
Column: Postgres MagePostgreSQL
PostgreSQL Dominates Database World, but Who Will Devour PG?PostgreSQLPG Ecosystem
PostgreSQL Has Dominated the Database WorldPostgreSQLPG Ecosystem
PGDG Cuts Off Mirror Sync ChannelPostgreSQLPG Admin
Postgres Extension Day - See You There!PostgreSQLExtension
OrioleDB is Coming! 4x Performance, Eliminates Pain Points, Storage-Compute SeparationPostgreSQL
OpenHalo: MySQL Wire-Compatible PostgreSQL is Here!PostgreSQLMySQL
PGFS: Using Database as a FilesystemPostgreSQLObject Storage
PostgreSQL Ecosystem Frontier DevelopmentsPostgreSQLPG Ecosystem
Pig, The Postgres Extension WizardPostgreSQLTools
Don't Upgrade! Released and Immediately Pulled - Even PostgreSQL Isn't Immune to Epic FailsPostgreSQL
PostgreSQL 12 End-of-Life, PG 17 Takes the ThronePostgreSQL
The Ideal Way to Deliver PostgreSQL ExtensionsPostgreSQLPG EcosystemExtension
PostgreSQL 17 Released: No More Pretending!PostgreSQL
Can PostgreSQL Replace Microsoft SQL Server?PostgreSQLMySQLPG Ecosystem
Whoever Integrates DuckDB Best Wins the OLAP WorldPostgreSQLPG Ecosystem
StackOverflow 2024 Survey: PostgreSQL Has Gone Completely BerserkPostgreSQLPG Ecosystem
Self-Hosting Dify with PG, PGVector, and PigstyPostgreSQLPigstyContainers
PGCon.Dev 2024, The conf that shutdown PG for a weekPostgreSQLPG Ecosystem
PostgreSQL 17 Beta1 Released!PostgreSQL
Postgres is eating the database worldPostgreSQLPG EcosystemExtension
Technical Minimalism: Just Use PostgreSQL for EverythingPostgreSQLPG EcosystemTranslation
New PostgreSQL Ecosystem Player: ParadeDBPostgreSQLPG EcosystemExtension
PostgreSQL's Impressive ScalabilityPostgreSQLPerformanceTranslation
PostgreSQL Wins 2024 Database of the Year Award! (Fifth Time)PostgreSQLPG Ecosystem
PostgreSQL Convention 2024PostgreSQLPG Development
PostgreSQL Macro Query Optimization with pg_stat_statementsPostgreSQLPG AdminPerformance
FerretDB: PostgreSQL Disguised as MongoDBPostgreSQLMongoDBPG EcosystemExtension
How to Use pg_filedump for Data Recovery?PostgreSQLPG AdminIncident
PostgreSQL, The most successful databasePostgreSQLPG Ecosystem
AI Large Models and Vector Database PGVectorPostgreSQLPG DevelopmentExtensionVector
How Powerful is PostgreSQL Really?PostgreSQLPG EcosystemPerformance
Why PostgreSQL is the Most Successful Database?PostgreSQLPG Ecosystem
Ready-to-Use PostgreSQL Distribution: PigstyPostgreSQLPigstyRDS
Why Does PostgreSQL Have a Bright Future?PostgreSQLPG Ecosystem
Localization and Collation Rules in PostgreSQLPostgreSQLPG Admin
Implementing Advanced Fuzzy SearchPostgreSQLPG Development
PostgreSQL Logical Replication Deep DivePostgreSQLPG Admin
PG Replica Identity ExplainedPostgreSQLPG AdminPG Development
A Methodology for Diagnosing PostgreSQL Slow QueriesPostgreSQLPG AdminPerformance
Incident-Report: Patroni Failure Due to Time TravelPostgreSQLPG AdminIncident
Online Primary Key Column Type ChangePostgreSQLPG Admin
Golden Monitoring Metrics: Errors, Latency, Throughput, SaturationPostgreSQLPG AdminMonitoring
Database Cluster Management Concepts and Entity Naming ConventionsPostgreSQLPG AdminArchitecture
PostgreSQL's KPIPostgreSQLPG AdminMonitoring
Online PostgreSQL Column Type MigrationPostgreSQLPG AdminMigration
Transaction Isolation Level ConsiderationsPostgreSQLPG Development
Frontend-Backend Communication Wire ProtocolPostgreSQLPG DevelopmentPG Kernel
Incident: PostgreSQL Extension Installation Causes Connection FailurePostgreSQLPG AdminExtensionIncident
CDC Change Data Capture MechanismsPostgreSQLPG Development
Locks in PostgreSQLPostgreSQLPG DevelopmentPG Admin
O(n2) Complexity of GIN SearchPostgreSQLPG Development
PostgreSQL Common Replication Topology PlansPostgreSQLPG AdminArchitecture
Warm Standby: Using pg_receivewalPostgreSQLPG AdminBackup
Incident-Report: Connection-Pool Contamination Caused by pg_dumpPostgreSQLPG AdminIncident
PostgreSQL Data Page Corruption RepairPostgreSQLPG AdminIncident
Relation Bloat Monitoring and ManagementPostgreSQLPG Admin
TimescaleDB Quick StartPostgreSQLPG AdminExtension
Getting Started with PipelineDBPostgreSQLPG AdminExtension
Incident-Report: PostgreSQL Transaction ID WraparoundPostgreSQLPG AdminIncident
Incident-Report: Integer Overflow from Rapid Sequence Number ConsumptionPostgreSQLPG AdminIncident
PostgreSQL Trigger Usage ConsiderationsPostgreSQLPG Development
GeoIP Geographic Reverse Lookup OptimizationPostgreSQLPG DevelopmentExtensionGIS
PostgreSQL Development Convention (2018 Edition)PostgreSQLPG DevelopmentSoftware Engineering
What Are PostgreSQL's Advantages?PostgreSQLPG Ecosystem
KNN Ultimate Optimization: From RDS to PostGISPostgreSQLPG DevelopmentMachine LearningGIS
Efficient Administrative Region Lookup with PostGISPostgreSQLPG DevelopmentGIS
Monitoring Table Size in PostgreSQLPostgreSQLPG AdminMonitoring
PgAdmin Installation and ConfigurationPostgreSQLPG AdminTools
Incident-Report: Uneven Load AvalanchePostgreSQLPG AdminIncident
Implementing Mutual Exclusion Constraints with ExcludePostgreSQLPG Development
Function Volatility Classification LevelsPostgreSQLPG Development
Distinct On: Remove Duplicate DataPostgreSQLPG Development
PostgreSQL Routine MaintenancePostgreSQLPG Admin
Backup and Recovery Methods OverviewPostgreSQLPG AdminBackup
Pgbouncer Quick StartPostgreSQLPG Admin
PgBackRest2 DocumentationPostgreSQLPG AdminBackup
Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data MigrationPostgreSQLPG AdminMigration
Using sysbench to Test PostgreSQL PerformancePostgreSQLPG AdminPerformance
Testing Disk Performance with FIOPostgreSQLPG AdminPerformance
PostgreSQL Server Log Regular ConfigurationPostgreSQLPG AdminMonitoring
Finding Unused IndexesPostgreSQLPG Admin
Batch Configure SSH Passwordless LoginPostgreSQLPG Admin
Wireshark Packet Capture Protocol AnalysisPostgreSQLPG AdminTools
The Versatile file_fdw — Reading System Information from Your DatabasePostgreSQLPG AdminExtension
Installing PostGIS from SourcePostgreSQLPG AdminExtension
Common Linux Statistics CLI ToolsPostgreSQLPG AdminTools
Go Database Tutorial: database/sqlPostgreSQLSoftware Engineering
Implementing Cache Synchronization with Go and PostgreSQLPostgreSQLPG Development
Auditing Data Changes with TriggersPostgreSQLPG Development
Building an ItemCF Recommender in Pure SQLPostgreSQLPG DevelopmentMachine Learning
UUID Properties, Principles and ApplicationsPostgreSQLPG DevelopmentArchitecture
PostgreSQL MongoFDW Installation and DeploymentPostgreSQLPG AdminExtension
  • PostgreSQL Trigger Usage Considerations

    By Ruohang Feng In PGSQL 1053 words 5 min

    Ruohang FengPostgreSQLPG Development

    PostgreSQL Trigger Usage Considerations

    Overview Trigger behavior overview Trigger classification Trigger functionality Trigger types Trigger firing Trigger creation Trigger modification Trigger queries Trigger performance Trigger Overview Trigger behavior overview: English, Chinese …

    Overview Trigger behavior overview Trigger classification Trigger functionality Trigger types Trigger firing Trigger creation Trigger modification Trigger queries Trigger performance Trigger Overview Trigger behavior overview: English, Chinese …

  • GeoIP Geographic Reverse Lookup Optimization

    By Ruohang Feng In PGSQL 1545 words 8 min

    Ruohang FengPostgreSQLPG DevelopmentExtensionGIS

    GeoIP Geographic Reverse Lookup Optimization

    Efficient implementation of IP geolocation lookups In application development, a ‘very common’ requirement is GeoIP conversion - converting source IP addresses from requests into corresponding geographic coordinates or administrative divisions …

    Efficient implementation of IP geolocation lookups In application development, a ‘very common’ requirement is GeoIP conversion - converting source IP addresses from requests into corresponding geographic coordinates or administrative divisions …

  • PostgreSQL Development Convention (2018 Edition)

    By Ruohang Feng In PGSQL 3431 words 17 min

    Ruohang FengPostgreSQLPG DevelopmentSoftware Engineering

    PostgreSQL Development Convention (2018 Edition)

    0x00 Background Without rules, there can be no order. PostgreSQL is extremely powerful, but to use PostgreSQL well requires coordinated effort from backend developers, operations teams, and DBAs. This article compiles a development specification …

    0x00 Background Without rules, there can be no order. PostgreSQL is extremely powerful, but to use PostgreSQL well requires coordinated effort from backend developers, operations teams, and DBAs. This article compiles a development specification …

  • What Are PostgreSQL's Advantages?

    By Ruohang Feng In PGSQL 2148 words 11 min

    Ruohang FengPostgreSQLPG Ecosystem

    What Are PostgreSQL's Advantages?

    PostgreSQL’s slogan is “The world’s most advanced open source relational database”, but I think this slogan isn’t catchy enough, and it looks like it’s targeting MySQL’s “The world’s most popular open source relational database” slogan, which seems …

    PostgreSQL’s slogan is “The world’s most advanced open source relational database”, but I think this slogan isn’t catchy enough, and it looks like it’s targeting MySQL’s “The world’s most popular open source relational database” slogan, which seems …

  • KNN Ultimate Optimization: From RDS to PostGIS

    By Ruohang Feng In PGSQL 4090 words 20 min

    Ruohang FengPostgreSQLPG DevelopmentMachine LearningGIS

    KNN Ultimate Optimization: From RDS to PostGIS

    Flexibly applying database functionality can easily achieve a 30,000-fold performance improvement in GIS selection scenarios. Level Method Performance/Time(ms) Maintainability/Reliability Notes 1 Brute Force 30,000 - Simple form 2 Coordinate Index 35 …

    Flexibly applying database functionality can easily achieve a 30,000-fold performance improvement in GIS selection scenarios. Level Method Performance/Time(ms) Maintainability/Reliability Notes 1 Brute Force 30,000 - Simple form 2 Coordinate Index 35 …

  • Efficient Administrative Region Lookup with PostGIS

    By Ruohang Feng In PGSQL 2166 words 11 min

    Ruohang FengPostgreSQLPG DevelopmentGIS

    Efficient Administrative Region Lookup with PostGIS

    Author: Vonng (@Vonng) Original WeChat article In application development, we often need to solve this problem: determining administrative regions based on user coordinates. We collect coordinates like 28°00'00"N 100°00'00.000"E, but what we …

    Author: Vonng (@Vonng) Original WeChat article In application development, we often need to solve this problem: determining administrative regions based on user coordinates. We collect coordinates like 28°00'00"N 100°00'00.000"E, but what we …

  • Monitoring Table Size in PostgreSQL

    By Ruohang Feng In PGSQL 903 words 5 min

    Ruohang FengPostgreSQLPG AdminMonitoring

    Monitoring Table Size in PostgreSQL

    Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …

    Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …

  • PgAdmin Installation and Configuration

    By Ruohang Feng In PGSQL 216 words 2 min

    Ruohang FengPostgreSQLPG AdminTools

    PgAdmin Installation and Configuration

    PgAdmin4 Installation and Configuration PgAdmin is a GUI designed specifically for PostgreSQL. It works very well. It can run as either a local GUI program or a web service. Since PgAdmin’s GUI components have display issues on Retina screens, this …

    PgAdmin4 Installation and Configuration PgAdmin is a GUI designed specifically for PostgreSQL. It works very well. It can run as either a local GUI program or a web service. Since PgAdmin’s GUI components have display issues on Retina screens, this …

  • Incident-Report: Uneven Load Avalanche

    By Ruohang Feng In PGSQL 1318 words 7 min

    Ruohang FengPostgreSQLPG AdminIncident

    Incident-Report: Uneven Load Avalanche

    Author: Vonng (@Vonng) Recently there was a perplexing incident where a database had half its data volume and load migrated away. Everything else remained unchanged, and it was fine before. The pressure decreased, yet it fell into a near-death state …

    Author: Vonng (@Vonng) Recently there was a perplexing incident where a database had half its data volume and load migrated away. Everything else remained unchanged, and it was fine before. The pressure decreased, yet it fell into a near-death state …

  • Implementing Mutual Exclusion Constraints with Exclude

    By Ruohang Feng In PGSQL 851 words 5 min

    Ruohang FengPostgreSQLPG Development

    Implementing Mutual Exclusion Constraints with Exclude

    Exclude constraint is a PostgreSQL extension that can implement more advanced and sophisticated database constraints. Introduction Data integrity is extremely important, but data integrity guaranteed by applications isn’t always reliable: humans make …

    Exclude constraint is a PostgreSQL extension that can implement more advanced and sophisticated database constraints. Introduction Data integrity is extremely important, but data integrity guaranteed by applications isn’t always reliable: humans make …

  • Function Volatility Classification Levels

    By Ruohang Feng In PGSQL 638 words 4 min

    Ruohang FengPostgreSQLPG Development

    Function Volatility Classification Levels

    PostgreSQL functions have three volatility levels by default. Proper use can significantly improve performance. Core Differences VOLATILE: Has side effects, cannot be optimized. STABLE: Executes database queries. IMMUTABLE: Pure function, execution …

    PostgreSQL functions have three volatility levels by default. Proper use can significantly improve performance. Core Differences VOLATILE: Has side effects, cannot be optimized. STABLE: Executes database queries. IMMUTABLE: Pure function, execution …

  • Distinct On: Remove Duplicate Data

    By Ruohang Feng In PGSQL 553 words 3 min

    Ruohang FengPostgreSQLPG Development

    Distinct On: Remove Duplicate Data

    Distinct On is a unique syntax provided by PostgreSQL that can efficiently solve typical query problems, for example, quickly finding records with maximum/minimum values within groups. Introduction Finding records with maximum/minimum values within …

    Distinct On is a unique syntax provided by PostgreSQL that can efficiently solve typical query problems, for example, quickly finding records with maximum/minimum values within groups. Introduction Finding records with maximum/minimum values within …

  • PostgreSQL Routine Maintenance

    By Ruohang Feng In PGSQL 126 words 1 min

    Ruohang FengPostgreSQLPG Admin

    PostgreSQL Routine Maintenance

    Cars need oil changes, databases need maintenance. Maintenance Tasks in PG For PG, there are three important maintenance tasks: backup, repack, vacuum Backup: The most important routine work, a lifeline. Create base backups Archive incremental WAL …

    Cars need oil changes, databases need maintenance. Maintenance Tasks in PG For PG, there are three important maintenance tasks: backup, repack, vacuum Backup: The most important routine work, a lifeline. Create base backups Archive incremental WAL …

  • Backup and Recovery Methods Overview

    By Ruohang Feng In PGSQL 3982 words 19 min

    Ruohang FengPostgreSQLPG AdminBackup

    Backup and Recovery Methods Overview

    Author: Vonng (@Vonng) Backup is the foundation of a DBA’s livelihood. With backups, there’s no need to panic. There are three forms of backup: SQL dumps, file system backups, and continuous archiving. 1. SQL Dumps The idea behind the SQL dump …

    Author: Vonng (@Vonng) Backup is the foundation of a DBA’s livelihood. With backups, there’s no need to panic. There are three forms of backup: SQL dumps, file system backups, and continuous archiving. 1. SQL Dumps The idea behind the SQL dump …

  • Pgbouncer Quick Start

    By Ruohang Feng In PGSQL 2876 words 14 min

    Ruohang FengPostgreSQLPG Admin

    Pgbouncer Quick Start

    Pgbouncer is a lightweight database connection pool. Synopsis pgbouncer [-d][-R][-v][-u user] <pgbouncer.ini> pgbouncer -V|-h Description pgbouncer is a PostgreSQL connection pooler. Any target application can connect to pgbouncer as if it were a …

    Pgbouncer is a lightweight database connection pool. Synopsis pgbouncer [-d][-R][-v][-u user] <pgbouncer.ini> pgbouncer -V|-h Description pgbouncer is a PostgreSQL connection pooler. Any target application can connect to pgbouncer as if it were a …

  • PgBackRest2 Documentation

    By Ruohang Feng In PGSQL 3112 words 15 min

    Ruohang FengPostgreSQLPG AdminBackup

    PgBackRest2 Documentation

    pgBackRest homepage: http://pgbackrest.org pgBackRest Github homepage: https://github.com/pgbackrest/pgbackrest Preface pgBackRest aims to provide a simple, reliable, easily scalable PostgreSQL backup and recovery system. pgBackRest doesn’t depend on …

    pgBackRest homepage: http://pgbackrest.org pgBackRest Github homepage: https://github.com/pgbackrest/pgbackrest Preface pgBackRest aims to provide a simple, reliable, easily scalable PostgreSQL backup and recovery system. pgBackRest doesn’t depend on …

  • Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data Migration

    By Ruohang Feng In PGSQL 673 words 4 min

    Ruohang FengPostgreSQLPG AdminMigration

    Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data Migration

    Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation. Zero-downtime data migration can essentially be viewed as consisting of three operations: Replication: Logical …

    Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation. Zero-downtime data migration can essentially be viewed as consisting of three operations: Replication: Logical …

  • Using sysbench to Test PostgreSQL Performance

    By Ruohang Feng In PGSQL 298 words 2 min

    Ruohang FengPostgreSQLPG AdminPerformance

    Using sysbench to Test PostgreSQL Performance

    sysbench homepage: https://github.com/akopytov/sysbench Installation Binary installation - on Mac, use brew to install sysbench: brew install sysbench --with-postgresql Source compilation (CentOS): yum -y install make automake libtool pkgconfig …

    sysbench homepage: https://github.com/akopytov/sysbench Installation Binary installation - on Mac, use brew to install sysbench: brew install sysbench --with-postgresql Source compilation (CentOS): yum -y install make automake libtool pkgconfig …

  • Testing Disk Performance with FIO

    By Ruohang Feng In PGSQL 335 words 2 min

    Ruohang FengPostgreSQLPG AdminPerformance

    Testing Disk Performance with FIO

    Author: Vonng FIO is an excellent disk performance testing tool. You can test disk read/write performance using the following commands. fio --filename=/tmp/fio.data \ -direct=1 \ -iodepth=32 \ -rw=randrw \ --rwmixread=80 \ -bs=4k \ -size=1G \ …

    Author: Vonng FIO is an excellent disk performance testing tool. You can test disk read/write performance using the following commands. fio --filename=/tmp/fio.data \ -direct=1 \ -iodepth=32 \ -rw=randrw \ --rwmixread=80 \ -bs=4k \ -size=1G \ …

  • PostgreSQL Server Log Regular Configuration

    By Ruohang Feng In PGSQL 654 words 4 min

    Ruohang FengPostgreSQLPG AdminMonitoring

    PostgreSQL Server Log Regular Configuration

    It’s recommended to configure PostgreSQL’s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables. Log-Related Configuration Items log_destination ='csvlog' logging_collector =on log_directory ='log' …

    It’s recommended to configure PostgreSQL’s log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables. Log-Related Configuration Items log_destination ='csvlog' logging_collector =on log_directory ='log' …

  • Finding Unused Indexes

    By Ruohang Feng In PGSQL 373 words 2 min

    Ruohang FengPostgreSQLPG Admin

    Finding Unused Indexes

    Author: Vonng Indexes are useful, but they’re not free. Unused indexes are a waste. Use the following SQL to identify unused indexes: First, exclude indexes used to implement constraints (can’t be dropped) Expression indexes (containing field 0 in …

    Author: Vonng Indexes are useful, but they’re not free. Unused indexes are a waste. Use the following SQL to identify unused indexes: First, exclude indexes used to implement constraints (can’t be dropped) Expression indexes (containing field 0 in …

  • Batch Configure SSH Passwordless Login

    By Ruohang Feng In PGSQL 292 words 2 min

    Ruohang FengPostgreSQLPG Admin

    Batch Configure SSH Passwordless Login

    Configuring SSH is fundamental operations work - sometimes the basics need revisiting. Generate Public-Private Key Pairs Ideally, everything should use public-private key authentication for passwordless direct connection from local to all database …

    Configuring SSH is fundamental operations work - sometimes the basics need revisiting. Generate Public-Private Key Pairs Ideally, everything should use public-private key authentication for passwordless direct connection from local to all database …

  • Wireshark Packet Capture Protocol Analysis

    By Ruohang Feng In PGSQL 979 words 5 min

    Ruohang FengPostgreSQLPG AdminTools

    Wireshark Packet Capture Protocol Analysis

    Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here’s a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis. Assuming debugging local PostgreSQL instance: 127.0.0.1:5432 …

    Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here’s a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis. Assuming debugging local PostgreSQL instance: 127.0.0.1:5432 …

  • The Versatile file_fdw — Reading System Information from Your Database

    By Ruohang Feng In PGSQL 842 words 4 min

    Ruohang FengPostgreSQLPG AdminExtension

    The Versatile file_fdw — Reading System Information from Your Database

    Author: Vonng PostgreSQL is the most advanced open-source database, and one of its killer features is FDW: Foreign Data Wrapper. Through FDW, users can access various external data sources from Postgres in a unified manner. file_fdw is one of the …

    Author: Vonng PostgreSQL is the most advanced open-source database, and one of its killer features is FDW: Foreign Data Wrapper. Through FDW, users can access various external data sources from Postgres in a unified manner. file_fdw is one of the …