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.

105 canonical articlesBrowse the complete archive

Popular Searches

PostgreSQL Articles

← Clear filter

Showing 12 of 105 articles

MongoDB vs PostgreSQL in 2026: Choosing the Right Database for Your Data Model

An honest comparison of MongoDB and PostgreSQL in 2026 — document model vs relational model, JSONB as a document store, ACID transaction trade-offs, horizontal scaling, licensing, and migration paths.

PostgreSQL12 minFeb 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

RDS PostgreSQL vs Aurora PostgreSQL: Which Should You Choose in 2025?

Aurora PostgreSQL offers sub-30-second failover and 15 read replicas but costs more per instance and adds per-I/O pricing. Learn when Aurora's HA wins over RDS simplicity with real cost modeling for 2025.

PostgreSQL3 minJan 20, 2025
Read

PostgreSQL EXPLAIN ANALYZE: Reading Query Plans and Fixing Slow Queries

Use PostgreSQL EXPLAIN and EXPLAIN ANALYZE safely, interpret estimates and runtime evidence, and test the smallest change that addresses the real bottleneck.

PostgreSQL6 minJan 3, 2025
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

Neon: Serverless PostgreSQL with Branching for Development

Use Neon for serverless PostgreSQL — database branching for dev/test, autoscaling, and cost model

PostgreSQL10 minJun 12, 2024
Read

PostgreSQL 17 Incremental Backup: pg_basebackup and pg_combinebackup Explained

PostgreSQL 17 finally adds native incremental backup support — allowing subsequent backups to capture only changed blocks since the last full backup.

PostgreSQL9 minFeb 9, 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

Read Replicas vs Caching: When to Use a Read Replica, Redis, or Both

A practical guide to choosing between read replicas and caching layers — replication lag behavior, cache invalidation strategies, thundering herd prevention, tiered read architecture patterns, and decision framework.

PostgreSQL12 minAug 22, 2023
Read

PostgreSQL as a Vector Database: A Complete Guide

Use pgvector for exact and approximate similarity search, relational filters, and hybrid retrieval while measuring recall, latency, storage, and write cost.

PostgreSQL7 minAug 15, 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

Zero-Downtime Database Migrations: The Expand-Contract Pattern for MySQL and PostgreSQL

A production guide to zero-downtime database migrations — why ALTER TABLE causes downtime, the Expand-Contract pattern, safe migration patterns for PostgreSQL and MySQL, and tooling with Flyway, Liquibase, pt-osc, and gh-ost.

PostgreSQL14 minJun 27, 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