Steps to Setup a Foreign Data Wrapper(postgres_fdw) in PostgreSQL 0 (0)

Steps to Setup a Foreign Data Wrapper(postgres_fdw) in PostgreSQL A foreign data wrapper (postgres_fdw) is an extension available in PostgreSQL that allows you to access a table or schema in one PostgreSQL database from another PostgreSQL DB. For this demonstration, we’ll use the databases local_db and remote_db. We will access a table employee in remote_db

Loading

Read More

Setup Logical Replication using pglogical in PostgreSQL 5 (2)

Setup Logical replication using pglogical in PostgreSQL In the recent two blogs, we discuss built-in options like Streaming replication Click here to read more and Logical replication Click here to read more. In this blog, we will use pglogical extension to setup logical streaming replication for PostgreSQL. The pglogical extension provides logical streaming replication for PostgreSQL, using

Loading

Read More

Configure PgBouncer for PostgreSQL 5 (1)

Configure PgBouncer for PostgreSQL PostgreSQL has a heavyweight connection handling architecture. For each incoming connection, the postmaster forks out a new processĀ  called as backend process to handle it. While this design provides better stability and isolation, it does not make it particularly efficient at handling short-lived connections. A new Postgres client connection involves TCP

Loading

Read More

Setup Streaming Replication with pgBackRest in PostgreSQL 0 (0)

Setup Streaming Replication with pgBackRest PostgreSQL In the recent two blogs, we discussĀ How to set up Streaming ReplicationĀ Click here to read more and Configure pgbackrest on Database Server – LocalĀ Click here to read more. In this blog, we will demonstrate How to Setup Streaming Replication with pgBackRest in PostgreSQL. Below are the high-level steps we

Loading

Read More

Setup Streaming Replication with repmgr and barman in PostgreSQL 4 (1)

Setup Streaming Replication with repmgr and barman in PostgreSQL repmgr is an open-source toolset and it is used to automate, enhance, and manage PostgreSQL streaming replication. Natively setting up and managing streaming replication involves many manual steps which include:1. Configuring replication parameters in both primary and each standby node.2. Backing up primary node data with

Loading

Read More