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.

106 canonical articlesBrowse the complete archive

Popular Searches

MySQL Articles

← Clear filter

Showing 12 of 106 articles

MySQL 8.0 Window Functions: ROW_NUMBER, LAG, LEAD, and Running Totals

Master MySQL 8.0 window functions for analytical queries. Covers ROW_NUMBER, RANK, LAG/LEAD for period comparison, running totals with SUM OVER, and NTILE quartiles.

MySQL5 minOct 22, 2025
Read

MySQL InnoDB Redo Log Tuning: Sizing for Production Write Throughput

The InnoDB redo log default of 100MB is dangerously undersized for production. Learn to measure your write throughput, size innodb_redo_log_capacity correctly, and monitor checkpoint pressure before write stalls occur.

MySQL4 minOct 21, 2025
Read

MySQL 8.4 Audit Log Filter: Selective Logging for Compliance

MySQL 8.4's audit log filter system lets you capture exactly the events your compliance framework requires — filtering by user, schema, event class, and severity to reduce audit log volume.

MySQL8 minOct 13, 2025
Read

Database CI/CD: Versioned Migrations, GitHub Actions, and Schema Testing

Implement database CI/CD with Flyway migrations, GitHub Actions pipelines, pytest schema tests, and blue-green deployment patterns. Eliminate ad-hoc schema changes.

PostgreSQL6 minOct 7, 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

Database Observability: Metrics, Logs, Traces, and Prometheus Alerting

Build a complete database observability stack with Prometheus metrics, slow query logs, and OpenTelemetry distributed traces. Includes alert rules for replication lag and cache hit rate.

PostgreSQL8 minSep 10, 2025
Read

MySQL Schema Migration Best Practices: Expand-Contract and Batch Backfills

Execute MySQL schema migrations safely with the expand-contract pattern, batched backfills, backward-compatible changes, and migration tooling comparison (Flyway, Liquibase, gh-ost).

MySQL1 minSep 3, 2025
Read

MySQL Query Cache Removal: Why It Was Removed and Modern Alternatives

Understand why MySQL removed the query cache in 8.0 and what to use instead: application-level Redis caching, ProxySQL query cache, and pre-computed summary tables.

MySQL1 minAug 20, 2025
Read

sysbench MySQL Benchmarking: OLTP Workloads and Performance Baselines

Benchmark MySQL with sysbench OLTP workloads. Covers setup, read/write and read-only suites, interpreting TPS and 95th percentile latency, and comparing before/after changes.

MySQL1 minAug 13, 2025
Read

InnoDB Buffer Pool Tuning: Sizing, Hit Ratio, and Warm-Up Strategies

Size and tune the MySQL 8.4 InnoDB buffer pool from a complete memory budget, measured I/O and latency, safe resize tests, and restart warm-up behavior.

MySQL5 minAug 4, 2025
Read

Diagnosing and Fixing MySQL Binlog Replication Failures

MySQL replication errors 1062 and 1032 stop your replica SQL thread silently. Learn to diagnose binlog failures, fix data drift with pt-table-sync, and configure GTID-safe replication.

MySQL10 minJul 15, 2025
Read

MySQL Binlog-Based Point-in-Time Recovery

Implement MySQL point-in-time recovery using binary logs. Covers binlog configuration, mysqlbinlog replay with stop-datetime, GTID-based filtering, and S3 binlog archival.

MySQL5 minJul 14, 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