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.

82 canonical articlesBrowse the complete archive

Popular Searches

Performance Articles

← Clear filter

Showing 12 of 82 articles

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

OLAP vs OLTP: Choosing the Right Database for Your Workload

Understand the differences between OLAP and OLTP systems — query patterns, storage engines, and when to use a hybrid approach

10 minFeb 1, 2026
Read

ScyllaDB vs Apache Cassandra: Performance and Operational Differences

Compare ScyllaDB and Apache Cassandra — throughput, latency, operational complexity, and when to switch

Cassandra11 minJan 22, 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

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

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

PostgreSQL Wait Events: Understanding What Slows Your Database

Decode PostgreSQL wait events to diagnose lock contention, I/O bottlenecks, and CPU pressure in production

PostgreSQL11 minJan 2, 2026
Read

pg_stat_statements: Query Performance Analysis in PostgreSQL

How to use pg_stat_statements to identify slow queries, analyze execution stats, and optimize PostgreSQL performance

PostgreSQL12 minJan 1, 2026
Read

5 Surprising Truths About Database Performance

Five counterintuitive database performance truths every engineer gets wrong — over-indexing costs, N+1 queries, connection pool sizing, replica reads, and EXPLAIN limitations.

PostgreSQL7 minDec 15, 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