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
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.
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.
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.
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.
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.
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
Debezium Advanced: Handling Schema Changes, Restarts, and Offsets
Go beyond basics with Debezium — handle schema evolution, manage connector offsets, and build resilient CDC pipelines
MySQL InnoDB Locking: Deadlocks, Gap Locks, and Next-Key Locks Explained
A deep dive into InnoDB locking — record locks, gap locks, next-key locks, how READ COMMITTED eliminates gap locks, diagnosing deadlocks with SHOW ENGINE INNODB STATUS and performance_schema, and prevention patterns.
Troubleshooting MySQL Issues: Daily Queries Every DBA Should Know
Essential MySQL diagnostic queries every DBA needs. Quickly identify slow queries, lock contention, replication lag, memory issues, and connection problems.
MySQL Replication Lag: Causes, Diagnosis, and Fixes
A comprehensive guide to MySQL replication lag — why it happens, why Seconds_Behind_Master lies, how to measure accurately with pt-heartbeat, and how to fix it with multi-threaded replication and LOGICAL_CLOCK parallelism.
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.
MySQL Error Log Table Explained: Using performance_schema for Error Analysis
MySQL 8.0 exposes error logs through performance_schema.error_log — enabling SQL-based filtering by severity, component, and timestamp without grep-ing log files.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed