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
Redis Performance Tuning for High-Traffic Applications
Tune Redis from measured latency and memory behavior: bound command work, fix big and hot keys, choose eviction intentionally, and test persistence.
PgBouncer: The Complete PostgreSQL Connection Pooling Guide
PgBouncer multiplexes thousands of application connections onto a small pool of real PostgreSQL server connections — reducing connection overhead without any application code changes.
MySQL InnoDB Locking: Deadlocks, Gap Locks, and Next-Key Locks Explained
A deep dive into InnoDB locking — record locks, gap locks, next-key locks, how READ COMMITTED eliminates gap locks, diagnosing deadlocks with SHOW ENGINE INNODB STATUS and performance_schema, and prevention patterns.
Save Space on MySQL Data with Column Compression: InnoDB Page Compression and ROW_FORMAT
MySQL InnoDB supports multiple compression strategies — from ROW_FORMAT=COMPRESSED to transparent page compression using punch holes. Choosing the right approach can cut storage by 40-70% for text-heavy workloads.
Redis Use Cases: Caching, Rate Limiting, Pub/Sub, Queues, and Session Storage
A practical guide to Redis use cases in production — cache-aside pattern, sliding window rate limiting, Pub/Sub vs Streams, BRPOP queues with delayed job scheduling, and session storage with persistence configuration.
Database Connection Pooling: PgBouncer, ProxySQL, and HikariCP Compared
A comprehensive guide to database connection pooling — comparing PgBouncer, ProxySQL, and HikariCP with configuration examples, pool mode trade-offs, and production sizing recommendations.
MySQL Connection Limits and Max Connections: Tuning for Scale
Understand MySQL max_connections, thread caching, and connection pool sizing to handle high-concurrency workloads
Advanced Indexing Strategies for Database Scalability
Deep dive into advanced database indexing strategies including composite indexes, covering indexes, and partial indexes. Optimize query performance with expert indexing techniques.
MySQL EXPLAIN Explained: How to Read Query Plans and Fix Slow Queries
MySQL's EXPLAIN command reveals exactly how the query optimizer plans to execute your SQL — which indexes it will use, how many rows it expects to examine, and where it may sort or create temporary tables.
ElastiCache for Redis vs Memcached: Choosing the Right AWS Cache
Choose between ElastiCache Redis and Memcached — data structures, persistence, replication, and cost considerations
MySQL Slow Query Log: Enabling, Analyzing with pt-query-digest, and Fixing the Top Patterns
A production guide to MySQL slow query log — enabling with long_query_time and log_queries_not_using_indexes, analyzing with pt-query-digest, reading EXPLAIN output, and fixing full table scans and N+1 loops.
MySQL Connection Lifecycle: Complete Guide to Connection Management and Optimization
Optimize MySQL connection management for maximum throughput. Learn connection pooling with HikariCP, ProxySQL load balancing, and thread pool configuration.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed