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.

21 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 21 articles

Normalization vs Denormalization (2026): When Each Wins for Database Performance

Explore the trade-offs between database normalization and denormalization for optimal performance. Learn when to normalize for data integrity and when to denormalize for query speed.

6 minMay 13, 2026
Read

Database Schema Design for Scalability (2026): 12 Patterns DBAs Use in Production

Twelve schema design patterns that survive production scale: primary key strategy, normalization trade-offs, partitioning, sharding boundaries, and indexing rules.

10 minMay 9, 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

Liquibase vs Flyway: Which Database Migration Tool to Choose?

Compare Liquibase and Flyway for schema migration management — features, abstraction level, and team fit

11 minJan 31, 2026
Read

Apache Cassandra Data Modeling: Partition Keys and Query Patterns

Model Cassandra from access patterns, distribute and bound partitions, and operate time-series TTL and compaction without relying on dangerous shortcuts.

Cassandra6 minJan 17, 2026
Read

MySQL JSON Column Performance: Indexing, Querying, and Schema Design Trade-offs

Understand when MySQL JSON columns help and hurt performance. Learn functional indexes, JSON_TABLE, and when to migrate JSON to normalized columns.

MySQL6 minDec 3, 2025
Read

MySQL Foreign Keys: Evolution from 5.7 to 8.4

MySQL's foreign key implementation has evolved significantly from 5.7 through 8.4 — with changes to metadata locking, instant DDL interactions, and Group Replication behavior that every DBA needs to understand.

MySQL8 minNov 20, 2025
Read

MySQL JSON Columns: Operators, Generated Column Indexes, and Partial Updates

Use MySQL JSON columns effectively with path operators, functional indexes via generated columns, JSON_CONTAINS filtering, and partial updates with JSON_SET.

MySQL4 minJul 4, 2025
Read

PostgreSQL Schema Design for Multi-Tenant SaaS: Three Patterns Compared

Compare three PostgreSQL multi-tenant patterns: shared schema with RLS, schema-per-tenant, and database-per-tenant. Includes hash partitioning for shared schema at scale.

PostgreSQL1 minMay 9, 2025
Read

GitOps for Database Change Management: Automated Schema Deployments

Apply GitOps principles to database changes — PR-based schema reviews, automated migrations, and rollback strategies

11 minAug 15, 2023
Read

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.

PostgreSQL10 minJun 6, 2023
Read

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.

PostgreSQL11 minMay 8, 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