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.

29 canonical articlesBrowse the complete archive

Popular Searches

PostgreSQL Articles

← Clear filter

Showing 12 of 29 articles

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 Database Hardening: A Security Best Practices Guide

A practical guide to hardening PostgreSQL: configure SSL/TLS, tighten pg_hba.conf, implement least-privilege roles, enable row-level security, and set up audit logging.

PostgreSQL10 minOct 6, 2025
Read

Zero-Downtime PostgreSQL Major Version Upgrade with Logical Replication

Upgrade PostgreSQL major versions with sub-second downtime using logical replication. Step-by-step guide covering schema copy, subscription setup, lag monitoring, and sequence resync.

PostgreSQL1 minSep 22, 2025
Read

PostgreSQL 17 Vacuum Improvements: Preventing Bloat and Wraparound

PostgreSQL 17 ships eager freezing and improved autovacuum prioritization, the most significant vacuum improvements in a decade. Learn how to tune autovacuum for high-write tables and prevent transaction ID wraparound.

PostgreSQL4 minAug 19, 2025
Read

pg_repack: Online Table and Index Compaction Without Exclusive Locks

Use pg_repack to reclaim PostgreSQL table bloat without the exclusive lock of VACUUM FULL. Covers installation, table vs index repack, disk space requirements, and throttling.

PostgreSQL1 minAug 8, 2025
Read

PostgreSQL Privilege Management: Roles, Default Privileges, and Least Privilege

Implement least-privilege access in PostgreSQL with role hierarchies, ALTER DEFAULT PRIVILEGES, schema separation, and privilege auditing queries.

PostgreSQL1 minApr 23, 2025
Read

PostgreSQL TLS Configuration: Certificates, pg_hba.conf, and Client Verification

Configure PostgreSQL TLS with self-signed or CA-signed certificates. Force TLS via pg_hba.conf, set minimum TLS version, and verify server certs from clients.

PostgreSQL1 minApr 14, 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

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

Security Invoker Views in PostgreSQL 15: Fixing a Long-Standing RLS Bypass

PostgreSQL views historically executed with the owner's privileges, bypassing row-level security policies. PostgreSQL 15 fixed this with security_invoker views — here's why it matters and how to use it in multi-tenant schemas.

PostgreSQL8 minMar 29, 2023
Read

How JusDB Scaled PostgreSQL + TimescaleDB for a Nationwide Smart-Meter IoT Platform: A Case Study

Learn how JusDB optimized a TimescaleDB cluster ingesting billions of IoT readings monthly, achieving 10× faster writes and 65% storage reduction.

PostgreSQL22 minMar 14, 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