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

Database Schema Design for Scalability (2026): 12 Patterns DBAs Use in Production

Twelve schema design patterns that survive production scale: primary key strategy, normalization trade-offs, partitioning, sharding boundaries, and indexing rules.

10 minMay 9, 2026
Read

MySQL Architecture Explained (2026): Query Path, InnoDB Engine & Buffer Pool Internals

MySQL architecture from query parser to disk: optimizer pipeline, InnoDB buffer pool, redo log, and storage internals every production DBA needs in 2026.

MySQL33 minMay 9, 2026
Read

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.

MySQL17 minMay 3, 2026
Read

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

Solving Cache Invalidation and Stampede in Valkey with Debezium CDC

Eliminate stale cache reads and thundering-herd stampedes by streaming MySQL binlog changes to Valkey via Debezium CDC. Full Java setup with embedded engine and XFetch.

MySQL15 minMar 7, 2026
Read

PostgreSQL Range Types and Exclusion Constraints: Prevent Double-Booking at the Database Level

Use PostgreSQL range types (daterange, tstzrange) and exclusion constraints to prevent overlapping bookings and schedules. Includes room booking, multirange types, and GiST index examples.

PostgreSQL11 minMar 5, 2026
Read

auto_explain: Automatic Query Plan Logging for Slow Queries in PostgreSQL

Configure auto_explain to automatically log EXPLAIN output for slow PostgreSQL queries. Covers log_analyze, log_buffers, sample_rate, JSON format, and RDS setup.

PostgreSQL11 minMar 5, 2026
Read

hypopg: Test PostgreSQL Index Impact Without Building the Index

Use hypopg to test how a new PostgreSQL index would affect query plans before building it. Includes install, hypothetical index creation, EXPLAIN workflow, and index sizing.

PostgreSQL10 minMar 5, 2026
Read

pgAudit: PostgreSQL Audit Logging for SOC2, PCI-DSS, and HIPAA Compliance

Configure pgAudit for PostgreSQL SOC2, PCI-DSS, and HIPAA compliance. Covers session vs object auditing, log format, log volume management, and SIEM integration.

PostgreSQL13 minMar 5, 2026
Read

PostgreSQL TOAST: Understanding Large Column Storage, Bloat, and Compression

Understand how PostgreSQL TOAST stores large columns, diagnose TOAST bloat with SQL, choose the right storage strategy, and use LZ4 compression in PG14+.

PostgreSQL13 minMar 5, 2026
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