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.

24 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 24 articles

MySQL "Communications Link Failure": Fix wait_timeout, HikariCP & All 8 Timeout Variables

MySQL wait_timeout, net_read_timeout, innodb_lock_wait_timeout and max_execution_time — production tuning rules and the HikariCP alignment trick that prevents 'communications link failure' errors.

MySQL6 minMay 9, 2026
Read

MariaDB Galera Cluster Production Guide: Mariabackup, MaxScale & Schema Strategy

Production MariaDB Galera Cluster: mariabackup-based SST, MaxScale Galera-aware routing, schema-change strategy with TOI vs RSU, and a troubleshooting playbook for the failures that actually take down production.

MySQL17 minMay 3, 2026
Read

Database Incident Response Runbook: From Alert to Resolution

A practical runbook for database incidents — triage, diagnosis, escalation, and post-mortem for MySQL and PostgreSQL

11 minJan 11, 2026
Read

PostgreSQL Wait Events: Understanding What Slows Your Database

Decode PostgreSQL wait events to diagnose lock contention, I/O bottlenecks, and CPU pressure in production

PostgreSQL11 minJan 2, 2026
Read

MongoDB Plan Cache Memory Issue: The SBE Bug and How to Fix It

MongoDB's Slot-Based Execution (SBE) engine introduced a plan cache memory leak affecting certain MongoDB versions — here's how to detect, mitigate, and fix it.

MongoDB8 minDec 8, 2025
Read

MongoDB 8.0 TTL Index Bug (SERVER-97368): What It Is and How to Fix It

A critical bug in MongoDB 8.0 (SERVER-97368) affects TTL index behavior — causing documents to persist beyond expiration or delete prematurely. Here's how to detect and mitigate it.

MongoDB7 minDec 4, 2025
Read

The 2026 Database Apocalypse: Why Your Database Might Explode (And How to Save It)

In 2026, more database versions are hitting end-of-life than any year in recent history.

8 minNov 18, 2025
Read

MySQL Optimizer Hints: INDEX, JOIN_ORDER, and MAX_EXECUTION_TIME

Guide MySQL query execution with optimizer hints. Covers INDEX, NO_INDEX, JOIN_ORDER, MAX_EXECUTION_TIME, and query block naming for subquery hint targeting.

MySQL5 minOct 27, 2025
Read

MySQL InnoDB Lock Monitoring: Detecting and Killing Blocking Transactions

Monitor InnoDB lock contention with performance_schema.data_locks, find blocking transactions, kill them safely, and prevent escalation with short transactions and proper timeouts.

MySQL5 minSep 12, 2025
Read

PostgreSQL Query Planner Hints: pg_hint_plan and Statistics Tuning

Guide the PostgreSQL query planner with enable_xxx settings, pg_hint_plan extension, and extended statistics for correlated columns. Fix bad plans without rewriting queries.

PostgreSQL5 minAug 18, 2025
Read

MySQL User Permissions Best Practices: Least Privilege and Password Policy

Harden MySQL user permissions with host-scoped grants, validate_password plugin, account locking, and privilege auditing. Essential for SOC2 and PCI-DSS compliance.

MySQL5 minApr 25, 2025
Read

MySQL InnoDB Crash Recovery: Diagnosis and Emergency Procedures

Understand InnoDB crash recovery mechanics and handle edge cases with innodb_force_recovery. Emergency dump procedures and durability settings to prevent future crashes.

MySQL4 minFeb 17, 2025
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