PostgreSQL

Posts in 2022
  • Why PostgreSQL is the Most Successful Database?

    July 12, 2022 in PostgreSQL

    Why PostgreSQL is the Most Successful Database?

    Database users are developers, but what about developers' preferences, likes, and choices? Looking at StackOverflow survey results over the past six years, it's clear that in 2022, PostgreSQL has won all three categories, becoming literally the "most successful database"

    Read more

    Database users are developers, but what about developers' preferences, likes, and choices? Looking at StackOverflow survey results over the past six years, it's clear that in 2022, PostgreSQL has won all three categories, becoming literally the "most successful database"

    Read more

Posts in 2021
  • Ready-to-Use PostgreSQL Distribution: Pigsty

    May 24, 2021 in PostgreSQL

    Ready-to-Use PostgreSQL Distribution: Pigsty

    Yesterday I gave a live presentation in the PostgreSQL Chinese community, introducing the open-source PostgreSQL full-stack solution — Pigsty

    Read more

    Yesterday I gave a live presentation in the PostgreSQL Chinese community, introducing the open-source PostgreSQL full-stack solution — Pigsty

    Read more

  • Why Does PostgreSQL Have a Bright Future?

    May 08, 2021 in PostgreSQL

    Why Does PostgreSQL Have a Bright Future?

    Databases are the core component of information systems, relational databases are the absolute backbone of databases, and PostgreSQL is the world's most advanced open source relational database. With such favorable timing and positioning, how can it not achieve great success?

    Read more

    Databases are the core component of information systems, relational databases are the absolute backbone of databases, and PostgreSQL is the world's most advanced open source relational database. With such favorable timing and positioning, how can it not achieve great success?

    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

  • 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

  • Online Primary Key Column Type Change

    January 15, 2021 in PostgreSQL

    Online Primary Key Column Type Change

    How to change column types online, such as upgrading from INT to BIGINT?

    Read more

    How to change column types online, such as upgrading from INT to BIGINT?

    Read more