No Picture
PostgreSQL Internals

PostgreSQL Online Schema Change with Python

Online schema changes in PostgreSQL allow you to modify a table’s schema while keeping it available for reads and writes. There are several third-party tools available for implementing online schema changes, such as pg_repack and […]
No Picture
PostgreSQL Performance

PostgreSQL Bulk Data Loading: Best Practices

When loading bulk data into a PostgreSQL database, there are several best practices you can follow to ensure the process is efficient, reliable, and doesn’t impact the performance of your database. Here are some of […]
No Picture
PostgreSQL Internals

PostgreSQL Reduce WAL: Increasing Checkpoint Distance

In PostgreSQL, the WAL (Write-Ahead Logging) is a critical component of the database system that ensures durability and consistency of data. However, frequent WAL writes can impact the performance of the database, especially if the […]
No Picture
PostgreSQL Performance

PostgreSQL Slow Query: How to Compute Its Cost

The cost of a slow query in PostgreSQL can be estimated by the Query Planner, which uses statistics about the data in the tables being queried to make predictions about the query execution time. The […]