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

CockroachDB vs Google Spanner vs YugabyteDB: NewSQL Comparison

Compare CockroachDB, Google Spanner, and YugabyteDB — consistency models, PostgreSQL compatibility, and operational costs

12 minJul 10, 2023
Read

Improving Query Performance with Multi-Valued Indexes in MySQL 8.0

MySQL 8.0 introduced multi-valued indexes — allowing you to index individual elements of a JSON array so queries using MEMBER OF or JSON_OVERLAPS can use an index.

MySQL8 minJun 30, 2023
Read

Zero-Downtime Database Migrations: The Expand-Contract Pattern for MySQL and PostgreSQL

A production guide to zero-downtime database migrations — why ALTER TABLE causes downtime, the Expand-Contract pattern, safe migration patterns for PostgreSQL and MySQL, and tooling with Flyway, Liquibase, pt-osc, and gh-ost.

PostgreSQL14 minJun 27, 2023
Read

Data Quality for Database Teams: Validation, Profiling, and Alerting

Add data quality checks to your pipeline — row count validation, schema drift detection, and anomaly alerting with Great Expectations

12 minJun 6, 2023
Read

UUIDs as Primary Keys: How We Destroyed Database Performance

UUIDs as primary keys can destroy database performance. Learn why 50M rows went from 0.5ms to 2.3ms inserts, and how to fix it with hybrid approaches.

PostgreSQL10 minJun 6, 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

AWS RDS vs Aurora vs Serverless v2: 2026 Cost Calculator + I/O Pricing Trap Explained

AWS RDS, Aurora, and Aurora Serverless v2 all run MySQL and PostgreSQL — but their pricing models differ dramatically. Learn when to use each and how to avoid expensive I/O surprises.

AWS10 minMay 23, 2023
Read

Vitess: MySQL Sharding for Kubernetes-Native Workloads

Deploy Vitess for horizontal MySQL sharding — VSchema design, vtgate routing, and migration from single-instance MySQL

MySQL12 minMay 22, 2023
Read

pg_upgrade: Major PostgreSQL Version Upgrades with Minimal Downtime

Use pg_upgrade to migrate between PostgreSQL major versions — upgrade strategies, pre-checks, and rollback plans

PostgreSQL11 minMay 10, 2023
Read

ProxySQL: The Complete Guide to MySQL Load Balancing and Connection Pooling

ProxySQL pools thousands of application connections into a small backend pool, splits reads to replicas automatically, and lets you change routing without touching application code or restarting MySQL.

MySQL10 minMay 9, 2023
Read

PostgreSQL Row Level Security (RLS): Multi-Tenant Access Control in Practice

A production guide to PostgreSQL Row Level Security — policy creation, USING vs WITH CHECK clauses, performance implications with indexes, and multi-tenant SaaS patterns with real schema examples.

PostgreSQL11 minMay 8, 2023
Read

Debezium Advanced: Handling Schema Changes, Restarts, and Offsets

Go beyond basics with Debezium — handle schema evolution, manage connector offsets, and build resilient CDC pipelines

12 minApr 25, 2023
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