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.

30 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 30 articles

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

MongoDB Replica Set Operations: Adding Members, Failover, and Lag Diagnosis

Day-to-day MongoDB replica set operations: adding/removing members, triggering elections, diagnosing replication lag, and managing oplog size.

MongoDB1 minFeb 12, 2025
Read

Diagnosing MySQL Connection Saturation: Too Many Connections Fix

Systematically diagnose and fix MySQL 'Too many connections' errors. Learn to identify connection leaks, tune wait_timeout, and implement ProxySQL pooling.

MySQL1 minFeb 7, 2025
Read

MySQL InnoDB Deadlocks: Diagnosis, Root Causes, and Prevention

Diagnose MySQL 8.4 InnoDB deadlocks from lock evidence, correct ordering and indexing, use SKIP LOCKED only for queues, and retry whole transactions safely.

MySQL6 minJan 10, 2025
Read

PostgreSQL Connection States: Understanding pg_stat_activity for Production Diagnosis

PostgreSQL's pg_stat_activity view exposes every connection's state — but understanding what 'idle in transaction' means and why it's dangerous requires knowing the full lifecycle of a PostgreSQL backend process.

PostgreSQL12 minJun 18, 2024
Read

Maximize MongoDB Log Understanding with Hatchet: Log Analytical Arsenal

Hatchet transforms raw MongoDB JSON logs into actionable insights — surfacing slow operations, connection storms, and namespace hotspots that are impossible to spot in raw log files.

MongoDB8 minAug 21, 2023
Read

Query Plan Regression: Detecting and Fixing Bad PostgreSQL Plans

Detect query plan regressions in PostgreSQL using auto_explain, pg_hint_plan, and plan baseline management

PostgreSQL12 minMay 30, 2023
Read