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.

51 canonical articlesBrowse the complete archive

Popular Searches

Database Performance Articles

← Clear filter

Showing 12 of 51 articles

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

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.

PostgreSQL5 minAug 18, 2025
Read

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.

MySQL1 minAug 13, 2025
Read

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.

PostgreSQL1 minAug 11, 2025
Read

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.

PostgreSQL5 minJul 16, 2025
Read

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.

PostgreSQL9 minMay 27, 2025
Read

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.

MySQL1 minMay 12, 2025
Read

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.

PostgreSQL10 minMay 9, 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