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 Indexing Best Practices: The Complete Guide for Production

PostgreSQL offers multiple index types for different access patterns — and choosing wrong means slow queries or wasted space. A comprehensive guide to indexing strategy, from type selection to monitoring and maintenance.

PostgreSQL10 minMar 7, 2025
Read

Redis 8 vs Valkey 8: Which In-Memory Database to Run in Production

Choose Redis 8 or Valkey 8 from licensing, feature, managed-service, and operational requirements, then migrate within the documented compatibility boundary.

Redis6 minJan 28, 2025
Read

MySQL Performance Tuning (2026): Fix Buffer Pool, Kill Unused Indexes, Stop Slow Queries

Master MySQL performance optimization with this comprehensive 2025 guide. Learn expert techniques for query tuning, indexing strategies, memory configuration, and InnoDB optimization to achieve 10x database performance improvements.

MySQL11 minNov 12, 2024
Read

MySQL 8.4 LTS: Production-Ready InnoDB Defaults Transform Database Performance

MySQL 8.4 LTS introduces production-optimized InnoDB defaults out of the box. Learn new default values, performance implications, and upgrade considerations.

MySQL7 minJul 9, 2024
Read

PostgreSQL Connection States: Understanding pg_stat_activity for Production Diagnosis

PostgreSQL's pg_stat_activity view exposes every connection's state — but understanding what 'idle in transaction' means and why it's dangerous requires knowing the full lifecycle of a PostgreSQL backend process.

PostgreSQL12 minJun 18, 2024
Read

PgBouncer vs Odyssey vs pgcat: Choosing a PostgreSQL Connection Pooler

A detailed comparison of PgBouncer, Odyssey, and pgcat for PostgreSQL connection pooling — architecture differences, threading models, pool modes, TLS support, and decision criteria for each workload type.

PostgreSQL12 minSep 19, 2023
Read

Database Connection Pool Sizing: The Formula, the Variables, and the Common Mistakes

How to size your database connection pool correctly — the HikariCP formula, the variables that determine optimal pool size, and the mistakes that cause connection exhaustion or underutilization.

PostgreSQL9 minAug 7, 2023
Read

Demystifying MySQL EXPLAIN FORMAT=TREE: Read Query Plans Like a DBA

MySQL 8.0 introduced EXPLAIN FORMAT=TREE — a hierarchical, human-readable query plan format that reveals join order, access methods, and cost estimates in a way that the traditional tabular EXPLAIN cannot.

MySQL9 minJul 27, 2023
Read

Improving Query Performance with Multi-Valued Indexes in MySQL 8.0

MySQL 8.0 introduced multi-valued indexes — allowing you to index individual elements of a JSON array so queries using MEMBER OF or JSON_OVERLAPS can use an index.

MySQL8 minJun 30, 2023
Read

Query Plan Regression: Detecting and Fixing Bad PostgreSQL Plans

Detect query plan regressions in PostgreSQL using auto_explain, pg_hint_plan, and plan baseline management

PostgreSQL12 minMay 30, 2023
Read

PostgreSQL Index Bloat: Detection and Remediation

Identify bloated indexes in PostgreSQL using pgstattuple, REINDEX CONCURRENTLY, and automated monitoring

PostgreSQL11 minApr 11, 2023
Read

PostgreSQL Table Partitioning with pg_partman: Complete Guide

pg_partman automates PostgreSQL partition lifecycle. This guide covers create_parent(), retention policies, partition pruning, and migrating existing tables without downtime.

PostgreSQL10 minMar 21, 2023
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