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.

22 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 22 articles

High Performance with MongoDB: A Top-Down Tuning Guide

A top-down playbook for high-performance MongoDB: measure with the profiler and explain(), model for access patterns, index by the ESR rule, keep the working set in the WiredTiger cache, pool connections, and scale reads with secondaries and sharding — with flow diagrams for each layer.

MongoDB14 minJun 6, 2026
Read

PostgreSQL Performance Tuning Playbook: A Top-Down Method for Faster Queries

A repeatable, top-down method for tuning PostgreSQL: measure with pg_stat_statements, read plans with EXPLAIN (ANALYZE, BUFFERS), fix queries and indexes before parameters, then tune memory, I/O, WAL, connection pooling, and autovacuum — with a ready-to-adapt postgresql.conf baseline.

PostgreSQL22 minMay 31, 2026
Read

hypopg: Test PostgreSQL Index Impact Without Building the Index

Use hypopg to test how a new PostgreSQL index would affect query plans before building it. Includes install, hypothetical index creation, EXPLAIN workflow, and index sizing.

PostgreSQL10 minMar 5, 2026
Read

MongoDB 8.0 TTL Index Bug (SERVER-97368): What It Is and How to Fix It

A critical bug in MongoDB 8.0 (SERVER-97368) affects TTL index behavior — causing documents to persist beyond expiration or delete prematurely. Here's how to detect and mitigate it.

MongoDB7 minDec 4, 2025
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 8.0 Generated Columns: Virtual, Stored, and JSON Index Extraction

Use MySQL 8.0 generated columns to index computed values, JSON paths, and date parts. Covers virtual vs stored tradeoffs and functional index patterns.

MySQL1 minNov 10, 2025
Read

MySQL 8.4 Full-Text Search: InnoDB FTS Tuning and Best Practices

MySQL InnoDB full-text search is underused and often misconfigured. With 8.4 LTS, new defaults and tuning opportunities can cut FTS query time by 60% or more.

MySQL8 minApr 8, 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

Handling Index Fragmentation in MongoDB: Detection and Remediation

MongoDB indexes fragment over time as documents are inserted, updated, and deleted. Here's how to detect fragmentation, measure its performance impact, and rebuild indexes safely.

MongoDB8 minFeb 18, 2025
Read

OpenSearch vs Elasticsearch in 2026: Licensing, Features, and Migration

OpenSearch (Apache 2.0) and Elasticsearch (EL2/SSPL) have diverged. Compare licensing, security features, AI/ML capabilities, and migration complexity for 2026.

8 minJan 14, 2025
Read

MongoDB Indexing: A Complete Guide to Faster Queries

MongoDB's indexing system supports single-field, compound, multikey, text, geospatial, and partial indexes. Choosing the right index type and key order determines whether your queries use microseconds or seconds.

MongoDB11 minNov 16, 2023
Read

Elasticsearch vs Typesense vs Meilisearch: Search Engine Comparison

Compare Elasticsearch, Typesense, and Meilisearch — relevance, speed, operational complexity, and when to use each

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