Hypothetical Indexes in PostgreSQL: Enhancing Performance Without the Overhead

Introduction Indexes are essential for speeding up query execution in PostgreSQL, but determining whether an index will be utilized in the execution plan can be challenging without actually creating it. However, on large tables, index creation can be time-consuming and resource-intensive. This is where virtual, or hypothetical, indexes come into play—they allow you to assess…

postgresql16

A Glimpse into the Future: Series of What’s New in PostgreSQL16 ?

A Glimpse into the Future: Series of What’s New in PostgreSQL16 ? On September 14, 2023, the PostgreSQL Global Development Group introduced PostgreSQL16, marking the latest release of the renowned open-source database. This version brings significant enhancements in performance, particularly in query parallelism, bulk data loading, and logical replication, including expanded SQL/JSON syntax, additional monitoring…

postgresql16

Optimizing Initial Sync for Large Databases in RDS PostgreSQL using pg_dump in Logical Replication

PostgreSQL provides a built-in logical replication system based on the publish/subscribe model, where a publisher publishes data changes to a publication, and a subscriber subscribes to the publication and receives the changes. Logical replication can be configured and managed using SQL commands and functions or third-party tools and libraries. The user creates the publication on…

postgresql16

REMAP_SCHEMA IN POSTGRESQL

This is very typical requirement we get in DBA world where we need to copy tables from one schema to another schema. In Oracle we have a option like remap_schema while doing restoration which handles this automatically. But in PostgreSQL we don’t have such parameter. Below is the way how I have done that in…