Pigsty Blog Articles

Posts in 2021
  • Pigsty v0.7: Monitor-Only Deployments

    April 26, 2021 in Pigsty

    Pigsty v0.7: Monitor-Only Deployments

    Monitor-only deployments unlock hybrid fleets, while DB/user provisioning APIs get a serious cleanup.

    Read more

    Monitor-only deployments unlock hybrid fleets, while DB/user provisioning APIs get a serious cleanup.

    Read more

  • Pigsty v0.6: Provisioning Upgrades

    April 19, 2021 in Pigsty

    Pigsty v0.6: Provisioning Upgrades

    v0.6 reworks the provisioning flow, adds exporter toggles, and makes the monitoring stack portable across environments.

    Read more

    v0.6 reworks the provisioning flow, adds exporter toggles, and makes the monitoring stack portable across environments.

    Read more

  • Pigsty v0.5: Declarative DB Templates

    March 28, 2021 in Pigsty

    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.

    Read more

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

    Read more

  • Localization and Collation Rules in PostgreSQL

    March 05, 2021 in PostgreSQL

    Localization and Collation Rules in PostgreSQL

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

    Read more

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

    Read more

  • Implementing Advanced Fuzzy Search

    March 05, 2021 in PostgreSQL

    Implementing Advanced Fuzzy Search

    How to implement relatively complex fuzzy search logic in PostgreSQL?

    Read more

    How to implement relatively complex fuzzy search logic in PostgreSQL?

    Read more

  • PostgreSQL Logical Replication Deep Dive

    March 03, 2021 in PostgreSQL

    PostgreSQL Logical Replication Deep Dive

    This article introduces the principles and best practices of logical replication in PostgreSQL 13.

    Read more

    This article introduces the principles and best practices of logical replication in PostgreSQL 13.

    Read more

  • PG Replica Identity Explained

    March 03, 2021 in PostgreSQL

    PG Replica Identity Explained

    Replica identity is important - it determines the success or failure of logical replication

    Read more

    Replica identity is important - it determines the success or failure of logical replication

    Read more

  • Pigsty v0.4: PG13 and Better Docs

    March 01, 2021 in Pigsty

    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.

    Read more

    Pigsty v0.4 ships PG13 support, a Grafana 7.3 refresh, and a cleaned-up docs site for the second public beta.

    Read more

  • A Methodology for Diagnosing PostgreSQL Slow Queries

    February 23, 2021 in PostgreSQL

    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.

    Read more

    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.

    Read more

  • Incident-Report: Patroni Failure Due to Time Travel

    February 22, 2021 in PostgreSQL

    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.

    Read more

    Machine restarted due to failure, NTP service corrected PG time after PG startup, causing Patroni to fail to start.

    Read more