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
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.
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.
Database Incident Response Runbook: From Alert to Resolution
A practical runbook for database incidents — triage, diagnosis, escalation, and post-mortem for MySQL and PostgreSQL
PostgreSQL Wait Events: Understanding What Slows Your Database
Decode PostgreSQL wait events to diagnose lock contention, I/O bottlenecks, and CPU pressure in production
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.
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.
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.
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.
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.
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.
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.
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.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed