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.
Popular Searches
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.
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.
MySQL Slow Query Log: Enabling, Analyzing with pt-query-digest, and Fixing the Top Patterns
A production guide to MySQL slow query log — enabling with long_query_time and log_queries_not_using_indexes, analyzing with pt-query-digest, reading EXPLAIN output, and fixing full table scans and N+1 loops.
MySQL Connection Lifecycle: Complete Guide to Connection Management and Optimization
Optimize MySQL connection management for maximum throughput. Learn connection pooling with HikariCP, ProxySQL load balancing, and thread pool configuration.
Descending Indexes in MySQL 8.0: When and How to Use Them
MySQL 8.0 finally supports true descending indexes — eliminating the filesort that MySQL 5.7 required when sorting results in descending order. Here's how descending indexes work and when to add them.
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.
Integrating MySQL Maintenance with systemd: Services, Timers, and Scheduling
Most MySQL maintenance tasks still rely on cron, but systemd timers offer better logging, dependency management, and failure handling. Here's how to convert your MySQL maintenance scripts to systemd services.
Top 10 MySQL Configuration Mistakes That Kill Performance
Avoid these common MySQL configuration mistakes that cripple performance. Learn proper buffer pool sizing, connection limits, and InnoDB settings for production workloads.
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.
XtraBackup: Physical MySQL Backups for Production
Use Percona XtraBackup to take hot physical backups of MySQL InnoDB — setup, verification, and restore steps
MySQL Performance Optimization for AWS RDS
A comprehensive guide to optimizing AWS RDS MySQL performance through infrastructure tuning, parameter configuration, and query optimization
Geospatial Data Handling Made Easy with MySQL 8.0
MySQL 8.0 significantly improved geospatial support with SRID-aware columns, spatial reference systems, and accurate geographic distance calculations. Here's how to use it in production.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed