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's KPI

Ruohang Feng 3038 words 15 min

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 …

  • PostgreSQL Logical Replication Deep Dive

    By Ruohang Feng In PGSQL 6503 words 31 min

    Ruohang FengPostgreSQLPG Admin

    PostgreSQL Logical Replication Deep Dive

    Logical Replication Logical Replication is a method of replicating data objects and their changes based on their replica identity (usually the primary key). The term logical replication contrasts with physical replication. Physical replication uses …

    Logical Replication Logical Replication is a method of replicating data objects and their changes based on their replica identity (usually the primary key). The term logical replication contrasts with physical replication. Physical replication uses …

  • PG Replica Identity Explained

    By Ruohang Feng In PGSQL 2202 words 11 min

    Ruohang FengPostgreSQLPG AdminPG Development

    PG Replica Identity Explained

    Introduction: DIY Logical Replication The concept of replica identity serves logical replication. The basic working principle of logical replication is to decode row-level INSERT/UPDATE/DELETE events from logical publication-related tables and …

    Introduction: DIY Logical Replication The concept of replica identity serves logical replication. The basic working principle of logical replication is to decode row-level INSERT/UPDATE/DELETE events from logical publication-related tables and …

  • A Methodology for Diagnosing PostgreSQL Slow Queries

    By Ruohang Feng In PGSQL 349 words 2 min

    Ruohang FengPostgreSQLPG AdminPerformance

    A Methodology for Diagnosing PostgreSQL Slow Queries

    “You can’t optimize what you can’t measure.” Slow queries hog connections, hold locks, block replication, trigger deadlocks, and waste resources. Every DBA must know how to find and fix them quickly. Traditional tools pg_stat_statements – essential …

    “You can’t optimize what you can’t measure.” Slow queries hog connections, hold locks, block replication, trigger deadlocks, and waste resources. Every DBA must know how to find and fix them quickly. Traditional tools pg_stat_statements – essential …

  • Incident-Report: Patroni Failure Due to Time Travel

    By Ruohang Feng In PGSQL 145 words 1 min

    Ruohang FengPostgreSQLPG AdminIncident

    Incident-Report: Patroni Failure Due to Time Travel

    Summary: Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start. The failure information in Patroni is shown as follows: Process %s is not postmaster, too much difference between PID file …

    Summary: Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start. The failure information in Patroni is shown as follows: Process %s is not postmaster, too much difference between PID file …

  • Online Primary Key Column Type Change

    By Ruohang Feng In PGSQL 1169 words 6 min

    Ruohang FengPostgreSQLPG Admin

    Online Primary Key Column Type Change

    Author: Vonng (@Vonng) How to change primary key column types online, such as upgrading from INT to BIGINT, without affecting business operations? Suppose you have a table in PostgreSQL where you initially chose an INT primary key without much …

    Author: Vonng (@Vonng) How to change primary key column types online, such as upgrading from INT to BIGINT, without affecting business operations? Suppose you have a table in PostgreSQL where you initially chose an INT primary key without much …

  • Golden Monitoring Metrics: Errors, Latency, Throughput, Saturation

    By Ruohang Feng In PGSQL 1235 words 6 min

    Ruohang FengPostgreSQLPG AdminMonitoring

    Golden Monitoring Metrics: Errors, Latency, Throughput, Saturation

    Preface Playing with databases and playing with cars have something in common - they both require frequently checking the dashboard. What are you doing staring at the dashboard? Looking at metrics. Why look at metrics? You need to understand the …

    Preface Playing with databases and playing with cars have something in common - they both require frequently checking the dashboard. What are you doing staring at the dashboard? Looking at metrics. Why look at metrics? You need to understand the …

  • Database Cluster Management Concepts and Entity Naming Conventions

    By Ruohang Feng In PGSQL 1496 words 8 min

    Ruohang FengPostgreSQLPG AdminArchitecture

    Database Cluster Management Concepts and Entity Naming Conventions

    Author: Vonng (@Vonng) “Once named, it can be spoken; once spoken, it can be acted upon.” Concepts and their naming are very important. Naming style reflects an engineer’s understanding of system architecture. Poorly defined concepts lead to …

    Author: Vonng (@Vonng) “Once named, it can be spoken; once spoken, it can be acted upon.” Concepts and their naming are very important. Naming style reflects an engineer’s understanding of system architecture. Poorly defined concepts lead to …

  • PostgreSQL's KPI

    By Ruohang Feng In PGSQL 3038 words 15 min

    Ruohang FengPostgreSQLPG AdminMonitoring

    PostgreSQL's KPI

    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 …

    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 …

  • Online PostgreSQL Column Type Migration

    By Ruohang Feng In PGSQL 786 words 4 min

    Ruohang FengPostgreSQLPG AdminMigration

    Online PostgreSQL Column Type Migration

    Scenario In the lifecycle of a database, there’s a common type of requirement: modifying column types. For example: Using INT as a primary key, only to discover that business is booming and the 2.1 billion limit of INT32 isn’t enough, wanting to …

    Scenario In the lifecycle of a database, there’s a common type of requirement: modifying column types. For example: Using INT as a primary key, only to discover that business is booming and the 2.1 billion limit of INT32 isn’t enough, wanting to …

  • Transaction Isolation Level Considerations

    By Ruohang Feng In PGSQL 2692 words 13 min

    Ruohang FengPostgreSQLPG Development

    Transaction Isolation Level Considerations

    PostgreSQL actually has only two transaction isolation levels: Read Committed and Serializable Basics The SQL standard defines four isolation levels, but PostgreSQL actually has only two transaction isolation levels: Read Committed and Serializable …

    PostgreSQL actually has only two transaction isolation levels: Read Committed and Serializable Basics The SQL standard defines four isolation levels, but PostgreSQL actually has only two transaction isolation levels: Read Committed and Serializable …

  • Frontend-Backend Communication Wire Protocol

    By Ruohang Feng In PGSQL 870 words 5 min

    Ruohang FengPostgreSQLPG DevelopmentPG Kernel

    Frontend-Backend Communication Wire Protocol

    Understanding the TCP protocol used for communication between PostgreSQL server and client Startup Phase The basic flow of the startup phase is as follows: Client sends a StartupMessage (F) to initiate connection request to server Payload includes …

    Understanding the TCP protocol used for communication between PostgreSQL server and client Startup Phase The basic flow of the startup phase is as follows: Client sends a StartupMessage (F) to initiate connection request to server Payload includes …

  • Incident: PostgreSQL Extension Installation Causes Connection Failure

    By Ruohang Feng In PGSQL 433 words 3 min

    Ruohang FengPostgreSQLPG AdminExtensionIncident

    Incident: PostgreSQL Extension Installation Causes Connection Failure

    Author: Vonng (@Vonng) Today encountered an interesting case where a customer reported database connection issues. The error was: psql: FATAL: could not load library "/export/servers/pgsql/lib/pg_hint_plan.so": …

    Author: Vonng (@Vonng) Today encountered an interesting case where a customer reported database connection issues. The error was: psql: FATAL: could not load library "/export/servers/pgsql/lib/pg_hint_plan.so": …

  • CDC Change Data Capture Mechanisms

    By Ruohang Feng In PGSQL 4557 words 22 min

    Ruohang FengPostgreSQLPG Development

    CDC Change Data Capture Mechanisms

    In actual production, we often need to synchronize database states to other places, such as synchronizing to data warehouses for analysis, to message queues for downstream consumption, or to caches to accelerate queries. Generally speaking, there are …

    In actual production, we often need to synchronize database states to other places, such as synchronizing to data warehouses for analysis, to message queues for downstream consumption, or to caches to accelerate queries. Generally speaking, there are …

  • Locks in PostgreSQL

    By Ruohang Feng In PGSQL 486 words 3 min

    Ruohang FengPostgreSQLPG DevelopmentPG Admin

    Locks in PostgreSQL

    PostgreSQL relies on snapshot isolation (SI) for concurrency and two-phase locking (2PL) as a supporting act. DML (SELECT/INSERT/UPDATE/DELETE) uses SSI; DDL (CREATE TABLE etc.) still uses 2PL. Understanding locks is essential when diagnosing …

    PostgreSQL relies on snapshot isolation (SI) for concurrency and two-phase locking (2PL) as a supporting act. DML (SELECT/INSERT/UPDATE/DELETE) uses SSI; DDL (CREATE TABLE etc.) still uses 2PL. Understanding locks is essential when diagnosing …

  • O(n2) Complexity of GIN Search

    By Ruohang Feng In PGSQL 673 words 4 min

    Ruohang FengPostgreSQLPG Development

    O(n2) Complexity of GIN Search

    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. Here is the detail of why that query have O(N^2) inside GIN …

    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. Here is the detail of why that query have O(N^2) inside GIN …

  • PostgreSQL Common Replication Topology Plans

    By Ruohang Feng In PGSQL 575 words 3 min

    Ruohang FengPostgreSQLPG AdminArchitecture

    PostgreSQL Common Replication Topology Plans

    Replication is one of the core issues in system architecture. Cluster Topology Suppose we use a standard 4-unit configuration: primary, synchronous replica, delayed backup, and remote replica, identified by letters M, S, O, R respectively. M: Master, …

    Replication is one of the core issues in system architecture. Cluster Topology Suppose we use a standard 4-unit configuration: primary, synchronous replica, delayed backup, and remote replica, identified by letters M, S, O, R respectively. M: Master, …

  • Warm Standby: Using pg_receivewal

    By Ruohang Feng In PGSQL 761 words 4 min

    Ruohang FengPostgreSQLPG AdminBackup

    Warm Standby: Using pg_receivewal

    Author: Vonng (@Vonng) Backup is the foundation of a DBA’s livelihood and one of the most critical tasks in database management. There are various types of backups, but the backups discussed here are all physical backups. Physical backups can …

    Author: Vonng (@Vonng) Backup is the foundation of a DBA’s livelihood and one of the most critical tasks in database management. There are various types of backups, but the backups discussed here are all physical backups. Physical backups can …

  • Incident-Report: Connection-Pool Contamination Caused by pg_dump

    By Ruohang Feng In PGSQL 1232 words 6 min

    Ruohang FengPostgreSQLPG AdminIncident

    Incident-Report: Connection-Pool Contamination Caused by pg_dump

    PostgreSQL is great, but that doesn’t mean it’s Bug-Free. This time in the production environment, I encountered another very interesting case: a production incident caused by pg_dump. This is a very subtle bug triggered by Pgbouncer, search_path, …

    PostgreSQL is great, but that doesn’t mean it’s Bug-Free. This time in the production environment, I encountered another very interesting case: a production incident caused by pg_dump. This is a very subtle bug triggered by Pgbouncer, search_path, …

  • PostgreSQL Data Page Corruption Repair

    By Ruohang Feng In PGSQL 2725 words 13 min

    Ruohang FengPostgreSQLPG AdminIncident

    PostgreSQL Data Page Corruption Repair

    PostgreSQL is a very reliable database, but even the most reliable database will struggle when faced with unreliable hardware. This article introduces methods for dealing with data page corruption in PostgreSQL. The Initial Problem A statistics …

    PostgreSQL is a very reliable database, but even the most reliable database will struggle when faced with unreliable hardware. This article introduces methods for dealing with data page corruption in PostgreSQL. The Initial Problem A statistics …

  • Relation Bloat Monitoring and Management

    By Ruohang Feng In PGSQL 3167 words 15 min

    Ruohang FengPostgreSQLPG Admin

    Relation Bloat Monitoring and Management

    Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …

    Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …

  • TimescaleDB Quick Start

    By Ruohang Feng In PGSQL 3993 words 19 min

    Ruohang FengPostgreSQLPG AdminExtension

    TimescaleDB Quick Start

    Official website: https://www.timescale.com Official documentation: https://docs.timescale.com/v0.9/main Github: https://github.com/timescale/timescaledb Why Use TimescaleDB What is Time-Series Data? We keep talking about what “time-series data” is, …

    Official website: https://www.timescale.com Official documentation: https://docs.timescale.com/v0.9/main Github: https://github.com/timescale/timescaledb Why Use TimescaleDB What is Time-Series Data? We keep talking about what “time-series data” is, …

  • Getting Started with PipelineDB

    By Ruohang Feng In PGSQL 207 words 1 min

    Ruohang FengPostgreSQLPG AdminExtension

    Getting Started with PipelineDB

    PipelineDB extends PostgreSQL with streaming primitives—continuous views over unbounded input. Although the upstream project was discontinued, the concepts remain useful. Install & configure PipelineDB ships as an extension. Install the RPM/DEB, then …

    PipelineDB extends PostgreSQL with streaming primitives—continuous views over unbounded input. Although the upstream project was discontinued, the concepts remain useful. Install & configure PipelineDB ships as an extension. Install the RPM/DEB, then …

  • Incident-Report: PostgreSQL Transaction ID Wraparound

    By Ruohang Feng In PGSQL 956 words 5 min

    Ruohang FengPostgreSQLPG AdminIncident

    Incident-Report: PostgreSQL Transaction ID Wraparound

    Encountered a transaction wraparound failure caused by disk bad blocks: Primary database (PostgreSQL 9.3) disk bad blocks caused VACUUM FREEZE execution failure on several tables. Unable to reclaim old transaction IDs, causing database transaction …

    Encountered a transaction wraparound failure caused by disk bad blocks: Primary database (PostgreSQL 9.3) disk bad blocks caused VACUUM FREEZE execution failure on several tables. Unable to reclaim old transaction IDs, causing database transaction …

  • Incident-Report: Integer Overflow from Rapid Sequence Number Consumption

    By Ruohang Feng In PGSQL 645 words 4 min

    Ruohang FengPostgreSQLPG AdminIncident

    Incident-Report: Integer Overflow from Rapid Sequence Number Consumption

    0x01 Overview Incident symptoms: A table using auto-increment columns had sequence numbers reach the integer limit, preventing writes. Discovered large gaps in auto-increment columns, with many sequence numbers consumed without corresponding records. …

    0x01 Overview Incident symptoms: A table using auto-increment columns had sequence numbers reach the integer limit, preventing writes. Discovered large gaps in auto-increment columns, with many sequence numbers consumed without corresponding records. …