FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

Β© 2026 FlareStart. All rights reserved.

Back to articles
PostGres Database Replication Using Pglogical
How-ToSystems

PostGres Database Replication Using Pglogical

via Dev.toRuben Alvarado1mo ago

Originally published on Hashnode This is an example of PostgreSQL database replication using the pglogical extension. In this example, I used Docker containers, with each container having its own database. When data is written to the primary database, the secondary container receives the same data. πŸ‘¨β€πŸ’»A man proudly told his wife, β€œI’m an SQL DB admin!” She threw him out of the house… Because he had one to many relationships πŸ’” β€” SQL News Network Start Docker If you have docker engine use sudo systemctl start docker sudo systemctl enable docker // if you want start at boot Or if you have docker desktop use this in debian Linux (installed from .deb package) systemctl --user start docker-desktop Create configuration files You need to create 2 config files as shown in this folder tree /<PATH_TO_PROJECT>/docker/ β”‚ β”œβ”€β”€ Dockerfile.pglogical └── postgres/ └── docker-compose.yml Define config files docker-compose.yml is the file that defines how to run the containers. cd <RATH_TO_PROJECT>/docker

Continue reading on Dev.to

Opens in a new tab

Read Full Article
27 views

Related Articles

What we’re looking for in Startup Battlefield 2026 and how to put your best application forward
How-To

What we’re looking for in Startup Battlefield 2026 and how to put your best application forward

TechCrunch β€’ 1d ago

Build Days That Actually Mean Something
How-To

Build Days That Actually Mean Something

Medium Programming β€’ 1d ago

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.
How-To

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.

Dev.to Beginners β€’ 1d ago

The origin story of Apple’s long-running relationship with FoxConn
How-To

The origin story of Apple’s long-running relationship with FoxConn

The Verge β€’ 1d ago

How to Optimize Big Data Platform Costs Across the Data Lifecycle
How-To

How to Optimize Big Data Platform Costs Across the Data Lifecycle

Hackernoon β€’ 1d ago

Discover More Articles