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.

18 canonical articlesBrowse the complete archive

Popular Searches

Latest Articles

Showing 12 of 18 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

MongoDB Explained (2026): Replica Sets, Sharding, Atlas & Production Patterns

Complete MongoDB guide covering document modeling, aggregation pipelines, sharding, replication, and Atlas deployment. Learn when MongoDB is the right choice for your application.

MongoDB5 minMay 13, 2026
Read

MongoDB Aggregation Pipeline: Advanced Patterns and Performance

Master MongoDB aggregation pipeline stages — $lookup, $group, $facet, explain plans, and index optimization

MongoDB12 minJan 14, 2026
Read

MongoDB Sharding: Architecture, Chunk Balancing, and Pitfalls

Design MongoDB sharded clusters — choose shard keys, manage chunk balancing, and avoid hot shards in production

MongoDB12 minJan 13, 2026
Read

MongoDB Plan Cache Memory Issue: The SBE Bug and How to Fix It

MongoDB's Slot-Based Execution (SBE) engine introduced a plan cache memory leak affecting certain MongoDB versions — here's how to detect, mitigate, and fix it.

MongoDB8 minDec 8, 2025
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

MongoDB Atlas vs Self-Hosted: True TCO Analysis for 2025

MongoDB Atlas M30 costs 5.6x more than equivalent EC2 instances, but self-hosted TCO includes DBA labor that most comparisons ignore. Here's the honest math and when each option wins.

MongoDB10 minJul 29, 2025
Read

DynamoDB vs MongoDB in 2025: A Real-World Comparison for Growing Teams

DynamoDB and MongoDB are the two most common NoSQL choices, but cost structures, query flexibility, and operational overhead differ dramatically depending on your access patterns.

MongoDB7 minApr 1, 2025
Read

MongoDB 8.0 Replication: New Features, Improvements, and What Changed

MongoDB 8.0 brings significant replication improvements including faster elections, durable oplog writes, and changes to write concern behavior. Here's what changed and how to take advantage of it.

MongoDB8 minMar 11, 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

MongoDB vs PostgreSQL in 2026: Choosing the Right Database for Your Data Model

An honest comparison of MongoDB and PostgreSQL in 2026 — document model vs relational model, JSONB as a document store, ACID transaction trade-offs, horizontal scaling, licensing, and migration paths.

PostgreSQL12 minFeb 10, 2025
Read

Null Handling in MongoDB: null vs Missing Fields vs undefined Explained

MongoDB's flexible schema allows fields to be null, explicitly set to null, or simply absent — and these three states behave differently in queries, aggregations, and indexes.

MongoDB7 minSep 27, 2024
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