All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Migrating Specific Tables Between PostgreSQL Instances Using Logical Replication

By

ananthakumaran

7mo ago· 7 min readen

Summary

The article describes a technical process for moving specific tables between PostgreSQL database instances using native logical replication, as an alternative to Google's Database Migration Service which only supports full database migrations. The author explains why DMS wasn't suitable for their use case and details the step-by-step approach they implemented at work, including granting access to user accounts and other technical procedures involved in the replication process.

Key quotes

· 3 pulled
Unfortunately, that option was not available here, since DMS only allows the migration of an entire database, not specific tables within a database.
We chose the native logical replication option. It's a much more involved process compared to using DMS, but it provides greater flexibility and allows replication of specific tables only.
Grant access to user accounts
Snippet from the RSS feed
At work, we recently had to move a few tables from one PostgreSQL instance to another. In my previous post, I discussed how to use Google’s Database Migration Service (DMS) to migrate data from one instance to another. Unfortunately, that option was not a

You might also wanna read