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.

76 canonical articlesBrowse the complete archive

Popular Searches

Optimization Articles

← Clear filter

Showing 12 of 76 articles

StarRocks 4.1: Adaptive Tablets, Range Distribution, and the Upgrade Trade-Offs

StarRocks 4.1 makes tablet layout adaptive: Range distribution, automatic splitting at 10 GB, and 100 GB tablets. When to enable it, and what it costs.

StarRocks13 minAug 3, 2026
Read

High Performance with MongoDB: A Top-Down Tuning Guide

A top-down playbook for high-performance MongoDB: measure with the profiler and explain(), model for access patterns, index by the ESR rule, keep the working set in the WiredTiger cache, pool connections, and scale reads with secondaries and sharding — with flow diagrams for each layer.

MongoDB14 minJun 6, 2026
Read

PostgreSQL Performance Tuning Playbook: A Top-Down Method for Faster Queries

A repeatable, top-down method for tuning PostgreSQL: measure with pg_stat_statements, read plans with EXPLAIN (ANALYZE, BUFFERS), fix queries and indexes before parameters, then tune memory, I/O, WAL, connection pooling, and autovacuum — with a ready-to-adapt postgresql.conf baseline.

PostgreSQL22 minMay 31, 2026
Read

TimescaleDB Hypertables, Continuous Aggregates & Compression (2026 Production Guide)

Use TimescaleDB for time-series data in PostgreSQL. Covers hypertable creation, continuous aggregates with refresh policies, retention policies, and 10-20x compression.

PostgreSQL1 minMay 13, 2026
Read

dbt (data build tool): A Guide for Database Engineers

Use dbt to build modular SQL transformations — models, tests, documentation, and CI/CD for your data warehouse

12 minJan 26, 2026
Read

Cassandra Compaction Strategies: STCS, LCS, and TWCS Explained

Choose the right Cassandra compaction strategy for your workload — STCS for write-heavy, LCS for read-heavy, TWCS for time-series

Cassandra11 minJan 18, 2026
Read

Redis Persistence: RDB vs AOF — Which to Choose?

Compare Redis RDB snapshots and AOF logging — durability trade-offs, performance impact, and recovery scenarios

Redis11 minJan 16, 2026
Read

MongoDB Aggregation Pipeline: Advanced Patterns and Performance

Master MongoDB aggregation pipeline stages — $lookup, $group, $facet, explain plans, and index optimization

MongoDB12 minJan 14, 2026
Read

SLO and SLA for Databases: A Practical Framework

Define meaningful SLOs and SLAs for your database tier — latency, availability, durability, and error budgets

12 minJan 12, 2026
Read

PostgreSQL Table Bloat and pg_repack: Reclaim Disk Without Downtime

Measure PostgreSQL table and index bloat, then use pg_repack to reclaim space with zero downtime

PostgreSQL12 minJan 6, 2026
Read

PostgreSQL Autovacuum Tuning: Prevent Table Bloat and Dead Tuples

Fine-tune PostgreSQL autovacuum to eliminate dead tuples, prevent table bloat, and maintain query performance

PostgreSQL13 minJan 4, 2026
Read

MySQL Performance Schema: A Practical Guide

Use MySQL Performance Schema to profile queries, monitor memory, and diagnose bottlenecks without guesswork

MySQL12 minJan 3, 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