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
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
PostgreSQL Wait Events: Understanding What Slows Your Database
Decode PostgreSQL wait events to diagnose lock contention, I/O bottlenecks, and CPU pressure in production
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
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.
PostgreSQL Query Planner Hints: pg_hint_plan and Statistics Tuning
Guide the PostgreSQL query planner with enable_xxx settings, pg_hint_plan extension, and extended statistics for correlated columns. Fix bad plans without rewriting queries.
sysbench MySQL Benchmarking: OLTP Workloads and Performance Baselines
Benchmark MySQL with sysbench OLTP workloads. Covers setup, read/write and read-only suites, interpreting TPS and 95th percentile latency, and comparing before/after changes.
pgbench: PostgreSQL Benchmarking for Configuration Validation
Use pgbench to benchmark PostgreSQL before and after configuration changes. Covers scale factor selection, TPC-B and read-only workloads, custom SQL scripts, and latency percentiles.
PostgreSQL Parallel Query: Configuration, JIT, and Tuning for Analytics
Enable and tune PostgreSQL parallel query for analytical workloads. Covers max_parallel_workers settings, PARALLEL SAFE functions, JIT compilation, and execution plan verification.
Database Connection Management at Scale: PgBouncer and ProxySQL Patterns
Connection exhaustion is one of the most common causes of database downtime at scale. Here is how production teams use PgBouncer and ProxySQL to handle 10,000+ concurrent connections.
MySQL Partitioning Strategies: RANGE, HASH, and Partition Pruning
Implement MySQL table partitioning with RANGE and HASH strategies. Covers instant partition drops for data lifecycle, partition pruning verification, and key gotchas.
Welcome PostgreSQL 18: A Revolutionary Leap in Database Performance and Developer Experience
Explore PostgreSQL 18 revolutionary features including async I/O, improved parallelism, enhanced JSON support, and developer experience improvements coming in 2025.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed