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

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

MySQL to PostgreSQL Migration: Schema, Data, and Application Code Guide

Migrate from MySQL to PostgreSQL using pgLoader. Covers schema differences, type casting, application code changes, validation, and zero-downtime migration strategies.

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 Monitoring with Prometheus and postgres_exporter: A Production Guide

Set up PostgreSQL monitoring with Prometheus and postgres_exporter. Includes install steps, critical alert rules, Grafana dashboard panels, and custom query metrics.

PostgreSQL10 minMar 5, 2026
Read

PostgreSQL 16: New Features Every DBA Should Know

PostgreSQL 16 introduced logical replication from standbys, pg_stat_io, SQL/JSON constructors, COPY improvements, and pg_stat_checkpointer. Full DBA upgrade guide.

PostgreSQL12 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

Zero-Downtime Schema Changes in PostgreSQL: Safe DDL Without Locking

Run PostgreSQL schema changes without locking: CREATE INDEX CONCURRENTLY, NOT VALID constraints, expand-contract column type changes, and lock_timeout. Covers pg_repack for table rewrites.

PostgreSQL13 minMar 5, 2026
Read

Oracle to PostgreSQL Migration: A Practical DBA Playbook

Migrate Oracle to PostgreSQL using ora2pg. Covers NUMBER→NUMERIC, DATE gotchas, PL/SQL→PL/pgSQL conversion, sequences, DUAL, NULL handling, and validation steps.

PostgreSQL12 minMar 5, 2026
Read

Patroni with Consul DCS: PostgreSQL HA Without etcd

Configure Patroni to use Consul instead of etcd as its DCS for PostgreSQL HA. Covers Consul setup, patroni.yml, service discovery, HAProxy routing, and failover testing.

PostgreSQL11 minMar 5, 2026
Read

pg_cron: Scheduling Automated Jobs Inside PostgreSQL

Use pg_cron to schedule SQL jobs inside PostgreSQL. Covers installation, cron syntax, partition maintenance, materialized view refresh, job monitoring, and RDS setup.

PostgreSQL12 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

Multi-Tenancy Database Patterns: Schema, Row, and Database-Level Isolation

Design multi-tenant databases — compare schema-per-tenant, row-level-security, and database-per-tenant approaches

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