JusDB
Free DB Audit

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.

38 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 38 articles

pg_upgrade: Major PostgreSQL Version Upgrades with Minimal Downtime

Use pg_upgrade to migrate between PostgreSQL major versions — upgrade strategies, pre-checks, and rollback plans

PostgreSQL11 minMay 10, 2023
Read

AWS DMS: Database Migration Service Guide for MySQL and PostgreSQL

A production guide to AWS Database Migration Service — replication instance sizing, endpoint configuration, Full Load vs CDC vs Full Load+CDC modes, performance tuning, and DMS vs Debezium vs pglogical.

PostgreSQL12 minApr 17, 2023
Read

Database Change Management: Schema Versioning and Review Processes

Implement schema change management with versioning, peer review, and automated validation for safe deployments

11 minMar 7, 2023
Read

DynamoDB to Aerospike: The Cost and Performance Optimization Journey

DynamoDB vs Aerospike at scale: the RCU/WCU, cross-AZ and DAX costs that grow with DynamoDB, Aerospike's shared-nothing and hybrid storage design, and a four-phase migration plan.

11 minFeb 7, 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

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

MySQL Online Schema Change: pt-osc and gh-ost in Production

A production guide to online MySQL schema changes — when to use pt-online-schema-change vs gh-ost vs MySQL 8.0 INSTANT DDL, configuration parameters, the cutover mechanism, and a step-by-step safety playbook.

MySQL12 minAug 23, 2022
Read

Flyway: Database Migration Versioning Done Right

Manage SQL schema migrations with Flyway — versioned and repeatable scripts, CI/CD integration, and team workflows

11 minJul 26, 2022
Read

Airbyte: Open-Source ELT for Database Replication

Deploy Airbyte to replicate data from MySQL, PostgreSQL, and MongoDB to your warehouse — connectors, scheduling, and transforms

11 minJul 14, 2022
Read

Online Schema Change for Tables with Triggers: pt-osc and gh-ost Workarounds

Performing online schema changes on MySQL tables with triggers is a known pain point — pt-osc creates conflicting triggers, and gh-ost has its own limitations. Here are the safe approaches.

MySQL10 minJun 14, 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

Schema Versioning and Migration Strategies for Scalable Databases

Implement zero-downtime database migrations with versioning strategies. Learn about Flyway, Liquibase, schema evolution patterns, and rollback strategies.

14 minApr 26, 2022
Read