THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL

Parallelization in relational databases is to coordinate relational database nodes to obtain higher performance. One solution for relational database parallelization is leader-follower replication. However, this solution only has one node that can modify data, which results in a write bottleneck....

Full description

Saved in:
Bibliographic Details
Main Author: Dwinta Harits Cahyana, Mohammad
Format: Final Project
Language:Indonesia
Online Access:https://digilib.itb.ac.id/gdl/view/78301
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Institut Teknologi Bandung
Language: Indonesia
id id-itb.:78301
spelling id-itb.:783012023-09-18T22:49:04ZTHE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL Dwinta Harits Cahyana, Mohammad Indonesia Final Project PostgreSQL, database parallelization, leaderless replication, OLTP, high availability. INSTITUT TEKNOLOGI BANDUNG https://digilib.itb.ac.id/gdl/view/78301 Parallelization in relational databases is to coordinate relational database nodes to obtain higher performance. One solution for relational database parallelization is leader-follower replication. However, this solution only has one node that can modify data, which results in a write bottleneck. Another solution for implementing relational database parallelization is through synchronous leaderless replication. With this replication, each node in the cluster can modify data and still comply with the ACID rules of relational model. The development of synchronous leaderless replication in PostgreSQL is carried out by introducing a lock manager node and enabling WAL shipping between nodes. A lock manager aims to control the concurrent data modification by each node. The developed WAL shipping mechanism is an adaptation of PostgreSQL’s WAL shipping for leader-follower replication. Performance testing of the development replication was compared with the performance of PostgreSQL's synchronous leader-follower replication. Results showed an increase in insert operation performance of 45%. The update and delete operations experienced a decrease in performance of 3% and 1500% respectively. It was also found that asynchronous replication generally has faster data modification performance than the developed replication. text
institution Institut Teknologi Bandung
building Institut Teknologi Bandung Library
continent Asia
country Indonesia
Indonesia
content_provider Institut Teknologi Bandung
collection Digital ITB
language Indonesia
description Parallelization in relational databases is to coordinate relational database nodes to obtain higher performance. One solution for relational database parallelization is leader-follower replication. However, this solution only has one node that can modify data, which results in a write bottleneck. Another solution for implementing relational database parallelization is through synchronous leaderless replication. With this replication, each node in the cluster can modify data and still comply with the ACID rules of relational model. The development of synchronous leaderless replication in PostgreSQL is carried out by introducing a lock manager node and enabling WAL shipping between nodes. A lock manager aims to control the concurrent data modification by each node. The developed WAL shipping mechanism is an adaptation of PostgreSQL’s WAL shipping for leader-follower replication. Performance testing of the development replication was compared with the performance of PostgreSQL's synchronous leader-follower replication. Results showed an increase in insert operation performance of 45%. The update and delete operations experienced a decrease in performance of 3% and 1500% respectively. It was also found that asynchronous replication generally has faster data modification performance than the developed replication.
format Final Project
author Dwinta Harits Cahyana, Mohammad
spellingShingle Dwinta Harits Cahyana, Mohammad
THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
author_facet Dwinta Harits Cahyana, Mohammad
author_sort Dwinta Harits Cahyana, Mohammad
title THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
title_short THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
title_full THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
title_fullStr THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
title_full_unstemmed THE IMPLEMENTATION OF SYNCHRONOUS LEADERLESS REPLICATION ON POSTGRESQL
title_sort implementation of synchronous leaderless replication on postgresql
url https://digilib.itb.ac.id/gdl/view/78301
_version_ 1822995697809489920