Pigsty Blog Articles
Pigsty v0.6: Provisioning Upgrades

v0.6 reworks the provisioning flow, adds exporter toggles, and makes the monitoring stack portable across environments.
v0.6 reworks the provisioning flow, adds exporter toggles, and makes the monitoring stack portable across environments.
Pigsty v0.5: Declarative DB Templates

Pigsty v0.5 introduces declarative database templates so roles, schemas, extensions, and ACLs can be described entirely in YAML.
Pigsty v0.5 introduces declarative database templates so roles, schemas, extensions, and ACLs can be described entirely in YAML.
Localization and Collation Rules in PostgreSQL

What? Don't know what COLLATION is? Remember one thing: using C COLLATE is always the right choice!
What? Don't know what COLLATION is? Remember one thing: using C COLLATE is always the right choice!
Implementing Advanced Fuzzy Search

How to implement relatively complex fuzzy search logic in PostgreSQL?
How to implement relatively complex fuzzy search logic in PostgreSQL?
PostgreSQL Logical Replication Deep Dive

This article introduces the principles and best practices of logical replication in PostgreSQL 13.
This article introduces the principles and best practices of logical replication in PostgreSQL 13.
PG Replica Identity Explained

Replica identity is important - it determines the success or failure of logical replication
Replica identity is important - it determines the success or failure of logical replication
Pigsty v0.4: PG13 and Better Docs

Pigsty v0.4 ships PG13 support, a Grafana 7.3 refresh, and a cleaned-up docs site for the second public beta.
Pigsty v0.4 ships PG13 support, a Grafana 7.3 refresh, and a cleaned-up docs site for the second public beta.
A Methodology for Diagnosing PostgreSQL Slow Queries

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.
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.
Incident-Report: Patroni Failure Due to Time Travel

Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start.
Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start.
Online Primary Key Column Type Change

How to change column types online, such as upgrading from INT to BIGINT?
How to change column types online, such as upgrading from INT to BIGINT?
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)