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.

6 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 6 of 6 articles

PostgreSQL Architecture Deep Dive: Process Model, MVCC, WAL & Replication Explained

Walk through PostgreSQL's multi-process architecture, shared/local memory layout, page-organized storage, MVCC tuple versioning, the WAL write path, the query execution pipeline, and physical + logical replication — all with ASCII flow diagrams that show how data and control actually move through the system.

PostgreSQL18 minMay 31, 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

From Standalone to High Availability: Convert Your PostgreSQL Database to a Patroni Cluster

Learn how to convert a standalone PostgreSQL instance to a Patroni high-availability cluster with etcd. Step-by-step guide covering installation, configuration, and failover testing.

PostgreSQL12 minMar 4, 2026
Read

PostgreSQL WAL Configuration: fsync, synchronous_commit, and Checkpoint Tuning

Tune PostgreSQL 18 WAL and checkpoints without weakening crash safety: understand commit modes, measure checkpointer deltas, and validate archive recovery.

PostgreSQL6 minOct 16, 2025
Read

PostgreSQL 17 Logical Replication: Failover Slots and Row Filtering

Logical replication in PostgreSQL has a critical gap: slots do not survive failover. PostgreSQL 17 finally fixes this with failover slots, plus adds row and column filtering for selective replication.

PostgreSQL8 minJun 10, 2025
Read

PostgreSQL 17: New Features Every DBA Should Know

PostgreSQL 17 is one of the most impactful releases in years. Incremental backups, vacuum improvements, logical replication failover slots, and planner enhancements are all production-critical changes.

PostgreSQL8 minJan 21, 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