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.

76 canonical articlesBrowse the complete archive

Popular Searches

Optimization Articles

← Clear filter

Showing 12 of 76 articles

MySQL 8.4 Audit Log Filter: Selective Logging for Compliance

MySQL 8.4's audit log filter system lets you capture exactly the events your compliance framework requires — filtering by user, schema, event class, and severity to reduce audit log volume.

MySQL8 minOct 13, 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

Mastering PostgreSQL Log Management: Configuration, Analysis, and Alerting

PostgreSQL's logging system is powerful but requires careful configuration to be useful in production. Learn how to capture slow queries, connection events, and DDL changes without drowning in noise.

PostgreSQL9 minSep 26, 2025
Read

MySQL Query Cache Removal: Why It Was Removed and Modern Alternatives

Understand why MySQL removed the query cache in 8.0 and what to use instead: application-level Redis caching, ProxySQL query cache, and pre-computed summary tables.

MySQL1 minAug 20, 2025
Read

PostgreSQL Query Planner Hints: pg_hint_plan and Statistics Tuning

Guide the PostgreSQL query planner with enable_xxx settings, pg_hint_plan extension, and extended statistics for correlated columns. Fix bad plans without rewriting queries.

PostgreSQL5 minAug 18, 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

InnoDB Buffer Pool Tuning: Sizing, Hit Ratio, and Warm-Up Strategies

Size and tune the MySQL 8.4 InnoDB buffer pool from a complete memory budget, measured I/O and latency, safe resize tests, and restart warm-up behavior.

MySQL5 minAug 4, 2025
Read

PostgreSQL Parallel Query: Configuration, JIT, and Tuning for Analytics

Enable and tune PostgreSQL parallel query for analytical workloads. Covers max_parallel_workers settings, PARALLEL SAFE functions, JIT compilation, and execution plan verification.

PostgreSQL5 minJul 16, 2025
Read

Elasticsearch Index Management: ILM, Shard Sizing, and Force Merge

Manage Elasticsearch indexes with ILM policies, correct shard sizing, and force merge for historical indices. Covers hot/warm/delete phases and cluster health monitoring.

1 minJun 11, 2025
Read

Password Management in MySQL 8: Policies, Reuse, and Dual Passwords

MySQL 8 introduced comprehensive password management — password validation policies, reuse history, expiration, and dual passwords for zero-downtime credential rotation.

MySQL8 minMay 12, 2025
Read

MySQL Partitioning Strategies: RANGE, HASH, and Partition Pruning

Implement MySQL table partitioning with RANGE and HASH strategies. Covers instant partition drops for data lifecycle, partition pruning verification, and key gotchas.

MySQL1 minMay 12, 2025
Read

PostgreSQL Indexing Best Practices: The Complete Guide for Production

PostgreSQL offers multiple index types for different access patterns — and choosing wrong means slow queries or wasted space. A comprehensive guide to indexing strategy, from type selection to monitoring and maintenance.

PostgreSQL10 minMar 7, 2025
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