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.
Popular Searches
UUIDs as Primary Keys: How We Destroyed Database Performance
UUIDs as primary keys can destroy database performance. Learn why 50M rows went from 0.5ms to 2.3ms inserts, and how to fix it with hybrid approaches.
Query Plan Regression: Detecting and Fixing Bad PostgreSQL Plans
Detect query plan regressions in PostgreSQL using auto_explain, pg_hint_plan, and plan baseline management
pg_upgrade: Major PostgreSQL Version Upgrades with Minimal Downtime
Use pg_upgrade to migrate between PostgreSQL major versions — upgrade strategies, pre-checks, and rollback plans
PostgreSQL Row Level Security (RLS): Multi-Tenant Access Control in Practice
A production guide to PostgreSQL Row Level Security — policy creation, USING vs WITH CHECK clauses, performance implications with indexes, and multi-tenant SaaS patterns with real schema examples.
Mastering AWS RDS Max Connections for MySQL & PostgreSQL
Master AWS RDS connection limits for MySQL and PostgreSQL. Learn max_connections calculation, connection pooling strategies, and optimization techniques.
PostgreSQL Index Bloat: Detection and Remediation
Identify bloated indexes in PostgreSQL using pgstattuple, REINDEX CONCURRENTLY, and automated monitoring
Debezium and Change Data Capture: Stream MySQL and PostgreSQL to Kafka
Debezium reads MySQL binary logs and PostgreSQL WAL to stream every row-level change as a Kafka event in near real-time — replacing nightly batch ETL with sub-second data propagation.
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.
Citus: Distributed PostgreSQL for Multi-Tenant and Analytics Workloads
A production guide to Citus — distributed PostgreSQL for horizontal sharding. Hypertable setup, distribution column selection, colocation for local joins, reference tables, and Citus vs native PostgreSQL partitioning.
PostgreSQL Table Partitioning with pg_partman: Complete Guide
pg_partman automates PostgreSQL partition lifecycle. This guide covers create_parent(), retention policies, partition pruning, and migrating existing tables without downtime.
PostgreSQL Logical Replication to Kafka: End-to-End Setup
Stream PostgreSQL changes to Kafka using pgoutput and Debezium — setup, monitoring, and lag management
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.
Get the latest database insights and expert tips delivered to your inbox.
Subscribe to our RSS feed for instant updates.
RSS Feed