How to Change The Name of Your WiFi Router

Have you just bought a new router and want to change its default name? If you wish to change the current name of your WiFi, the process is not as simple as you think. Don’t panic; we are here to help…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Postgresql Replication

What is Replication?

Replication Advantages ;

Replication Installation

The procedures to be performed on the Master and Replica servers during the installation process are as follows. I made, on which servers the transactions will take place are specified like on the “Master” and “Replica” servers.

2. The following settings are made in Postgresql.conf;

The 192.168.56.114/32 Replica(Slave) server used here is the 192.168.56.113/32 Master host.

4. In order to synchronize the Postgresql data created in Replica and Primary, the files in the Postgresql Instance folder created on the Replica server is deleted.

5. After deleting the file, the file path is checked.

6. After these processes are completed on the replica server, the replication between the Master and Slave(Replica) server is started.

The following command is used to start the replication;

What is the Replication Slot ?

Physical Replication Slot sends data changes in disk blocks to the replica server. Checks the transferred WAL files.

In this way, the data in the Wal files is taken under control and the synchronization between the Primary and Replica servers is preserved.

The following query can be used for the created replication slot control.

To delete the slot;

Replication control query ( ON Master);

Click for Postgresql Failover article.

Add a comment

Related posts:

Follow These 1000 Twitterati for Bullet Proof Investing

Investors thrive on information. And if information is made available to you before the word gets out to the masses you have an edge. But how can one develop an edge. The secret lies in following…

Finding Time To Write

We all love writing. That’s why we’re all here after all. We love to write, and we love to share our words with others. We love the feeling of knowing someone, somewhere is reading what we created…

5 Life lessons From a 100m Sprint

Quite often we associate a sprint with terms like explosive, high octane and intense. But diving a bit further we can extract some interesting similarities with a sprint and how we run our lives. To…