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

SQL Server Wait Stats: A Diagnostic Playbook for Slow Queries

Read SQL Server wait stats like a senior DBA: the four DMV sources, the eight wait types that cover 95% of incidents (PAGEIOLATCH, LCK_M, CXPACKET, WRITELOG…), and the remediation for each. A 30-minute diagnostic workflow from page to plan.

SQL Server12 minMay 27, 2026
Read

InnoDB Architecture Explained (2026): Buffer Pool, Redo Log & Production Tuning

Deep dive into InnoDB storage engine internals. Understand buffer pool, redo log, undo log, change buffer, and adaptive hash index for expert-level MySQL optimization.

MySQL16 minMay 13, 2026
Read

MySQL 8.4 Parallel DDL: innodb_parallel_read_threads & innodb_ddl_threads Tuning

Leverage MySQL 8.4 InnoDB parallel DDL for faster schema changes. Learn parallel index creation, online DDL improvements, and reduced maintenance windows.

MySQL8 minMay 13, 2026
Read

MySQL Architecture Explained (2026): Query Path, InnoDB Engine & Buffer Pool Internals

MySQL architecture from query parser to disk: optimizer pipeline, InnoDB buffer pool, redo log, and storage internals every production DBA needs in 2026.

MySQL33 minMay 9, 2026
Read

auto_explain: Automatic Query Plan Logging for Slow Queries in PostgreSQL

Configure auto_explain to automatically log EXPLAIN output for slow PostgreSQL queries. Covers log_analyze, log_buffers, sample_rate, JSON format, and RDS setup.

PostgreSQL11 minMar 5, 2026
Read

hypopg: Test PostgreSQL Index Impact Without Building the Index

Use hypopg to test how a new PostgreSQL index would affect query plans before building it. Includes install, hypothetical index creation, EXPLAIN workflow, and index sizing.

PostgreSQL10 minMar 5, 2026
Read

PostgreSQL TOAST: Understanding Large Column Storage, Bloat, and Compression

Understand how PostgreSQL TOAST stores large columns, diagnose TOAST bloat with SQL, choose the right storage strategy, and use LZ4 compression in PG14+.

PostgreSQL13 minMar 5, 2026
Read

pgBadger: PostgreSQL Log Analysis and Slow Query Reporting Guide

Learn how to use pgBadger to analyze PostgreSQL logs, find slow queries, and automate daily reporting. Includes postgresql.conf setup, cron automation, and RDS tips.

PostgreSQL13 minMar 5, 2026
Read

PostgreSQL Tablespaces: Moving Tables and Indexes Across Storage Tiers

Use PostgreSQL tablespaces to distribute tables and indexes across NVMe, SSD, and archive storage. Covers creation, ALTER TABLE SET TABLESPACE, monitoring, and backup.

PostgreSQL12 minMar 5, 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
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