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.

326 canonical articlesBrowse the complete archive

Popular Searches

Featured Articles

Hand-picked by our editors

Analytics & OLAP· Featured

StarRocks Monitoring & Alerting: The Complete Production Guide

Complete guide to StarRocks monitoring with Prometheus and Grafana. Covers resource saturation, cluster health, and application availability alerts with PromQL expressions and runbooks.

StarRocks14 minMar 24, 2026
Read

Latest Articles

Showing 12 of 326 articles

Redis Sentinel vs Redis Cluster: Choosing the Right HA Architecture

Redis Sentinel and Redis Cluster both provide HA, but teams regularly choose the wrong one. Sentinel is simpler and covers 95% of use cases; Cluster is required for horizontal scale. Here's when to choose each.

Redis9 minNov 11, 2025
Read

MySQL 8.0 Generated Columns: Virtual, Stored, and JSON Index Extraction

Use MySQL 8.0 generated columns to index computed values, JSON paths, and date parts. Covers virtual vs stored tradeoffs and functional index patterns.

MySQL1 minNov 10, 2025
Read

PostgreSQL Extensions Guide: pg_stat_statements, pg_trgm, pg_cron, and More

Survey essential PostgreSQL extensions: pg_stat_statements for query analysis, pg_trgm for fuzzy search, pg_cron for scheduled jobs, pg_buffercache for cache inspection.

PostgreSQL1 minNov 6, 2025
Read

Debezium 3.0: Real-Time CDC from PostgreSQL, MySQL, and MongoDB

Debezium 3.0 turns your database transaction log into a real-time event stream with full before/after row images. Learn to configure CDC for PostgreSQL WAL and MySQL binlog, avoid the offset storage trap, and monitor replication lag.

PostgreSQL4 minOct 28, 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

PostgreSQL CTEs and Recursive Queries for Hierarchical Data

Use PostgreSQL CTEs and recursive queries for category trees, graph traversal, and complex aggregations. Covers MATERIALIZED vs NOT MATERIALIZED and cycle prevention.

PostgreSQL1 minOct 24, 2025
Read

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

PostgreSQL WAL Configuration: fsync, synchronous_commit, and Checkpoint Tuning

Tune PostgreSQL 18 WAL and checkpoints without weakening crash safety: understand commit modes, measure checkpointer deltas, and validate archive recovery.

PostgreSQL6 minOct 16, 2025
Read

Database Disaster Recovery Runbook: RTO, RPO, and PITR Procedures

Build a production database DR runbook covering RTO/RPO definitions, failover steps, PITR recovery commands, and a verification checklist. Test it quarterly.

AWS7 minOct 14, 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

Multi-Region Database Architecture: Active-Passive, Aurora Global, and Read Routing

Design multi-region database topologies for global latency and DR. Compares active-passive, Aurora Global Database replication, and application-level read routing patterns.

AWS7 minOct 9, 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