The JusDB Database Engineering Blog

Deep dives on PostgreSQL, MySQL, MongoDB and more — performance tuning, high availability, migrations and production war stories from our DBAs.

40 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 40 articles

MySQL Replication Options: Native Replication vs Group Replication vs InnoDB Cluster

MySQL offers multiple replication topologies — traditional async replication, semi-sync, Group Replication, and InnoDB Cluster. Understanding the trade-offs determines whether your failover takes seconds or minutes.

MySQL9 minNov 9, 2023
Read

How JusDB Scaled PostgreSQL + TimescaleDB for a Nationwide Smart-Meter IoT Platform: A Case Study

Learn how JusDB optimized a TimescaleDB cluster ingesting billions of IoT readings monthly, achieving 10× faster writes and 65% storage reduction.

PostgreSQL22 minMar 14, 2023
Read

PostgreSQL High Availability with Patroni and HAProxy

Design PostgreSQL HA with Patroni 4.1, a protected quorum DCS, HAProxy role checks, explicit durability choices, and rehearsed switchover and recovery.

PostgreSQL7 minJan 24, 2023
Read

PostgreSQL Point-in-Time Recovery: WAL Archiving, pg_basebackup, and pgBackRest

PostgreSQL PITR lets you recover your database to any point in time — down to the second — by replaying WAL segments on top of a base backup. Here's how to set it up correctly.

PostgreSQL10 minJan 9, 2023
Read

PostgreSQL Replication Monitoring: Lag, Slots, and Failover Readiness

Monitor PostgreSQL streaming replication lag, replication slots, and standby health to ensure HA readiness

PostgreSQL11 minDec 20, 2022
Read

PostgreSQL Replication: Streaming Replication, Logical Replication, and Synchronous Standby Setup

A complete guide to PostgreSQL replication — streaming replication setup, logical replication for selective table sync, synchronous standby configuration, monitoring replication lag, and failover with Patroni.

PostgreSQL14 minNov 29, 2022
Read

Database Backup Strategies: RTO, RPO, and Recovery Planning

RTO and RPO drive backup decisions. This guide covers mysqldump, XtraBackup, pgBackRest, WAL archiving, S3 object lock, and the 3-2-1-1-0 backup rule.

11 minNov 8, 2022
Read

Setting Up High Availability for Percona Monitoring and Management (PMM)

Running a single PMM server is a single point of failure for your database monitoring. Here's how to set up PMM in an HA configuration with failover and shared storage.

PostgreSQL9 minOct 18, 2022
Read

MySQL GTID Replication: Complete Setup and Failover Guide

GTIDs eliminate manual binlog position tracking in MySQL replication. This guide covers enabling GTIDs, CHANGE MASTER TO MASTER_AUTO_POSITION, and failover.

MySQL9 minAug 11, 2022
Read

Mastering MySQL Group Replication: The Road to Fault-Tolerant Databases

Build fault-tolerant MySQL clusters with Group Replication. Learn multi-primary vs single-primary modes, conflict resolution, network partitioning handling, and failover strategies.

MySQL4 minJul 12, 2022
Read

XtraBackup: Physical MySQL Backups for Production

Use Percona XtraBackup to take hot physical backups of MySQL InnoDB — setup, verification, and restore steps

MySQL12 minMay 17, 2022
Read

MySQL Galera Cluster: Setup, Tuning, and Common Pitfalls

Set up MySQL Galera Cluster for synchronous multi-master replication — configuration, split-brain avoidance, and monitoring

MySQL13 minApr 18, 2022
Read
Newsletter

Get the latest database insights and expert tips delivered to your inbox.

Stay Connected

Subscribe to our RSS feed for instant updates.

RSS Feed