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.
Popular Searches
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.
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.
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.
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.
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
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
Redis Persistence: RDB vs AOF — Which to Choose?
Compare Redis RDB snapshots and AOF logging — durability trade-offs, performance impact, and recovery scenarios
MongoDB Aggregation Pipeline: Advanced Patterns and Performance
Master MongoDB aggregation pipeline stages — $lookup, $group, $facet, explain plans, and index optimization
SLO and SLA for Databases: A Practical Framework
Define meaningful SLOs and SLAs for your database tier — latency, availability, durability, and error budgets
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
PostgreSQL Autovacuum Tuning: Prevent Table Bloat and Dead Tuples
Fine-tune PostgreSQL autovacuum to eliminate dead tuples, prevent table bloat, and maintain query performance
MySQL Performance Schema: A Practical Guide
Use MySQL Performance Schema to profile queries, monitor memory, and diagnose bottlenecks without guesswork
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed