Tagged articles
11 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 14, 2023 · Databases

MongoDB Crash Analysis: WT_SESSION Exhaustion Caused by Index Drop During Background Index Build

An original case study examines a MongoDB 4.0.14 replica set crash triggered by exceeding the WiredTiger session limit when a primary creates a background index and subsequently drops it, causing blocking on the secondary, leading to connection saturation, session exhaustion, and instance failure.

Database operationsMongoDBWiredTiger
0 likes · 10 min read
MongoDB Crash Analysis: WT_SESSION Exhaustion Caused by Index Drop During Background Index Build
Tencent Cloud Developer
Tencent Cloud Developer
Jun 7, 2022 · Databases

Mastering MongoDB: From Basics to Advanced Performance Tuning

This comprehensive guide explores MongoDB’s core features—including schema flexibility, high availability, sharding, storage engine internals, indexing, and performance tuning—while providing practical examples, configuration tips, and best‑practice recommendations for developers and architects seeking to efficiently deploy and operate MongoDB in production environments.

MongoDBReplicationWiredTiger
0 likes · 40 min read
Mastering MongoDB: From Basics to Advanced Performance Tuning
Tencent Cloud Developer
Tencent Cloud Developer
Aug 2, 2021 · Databases

Improving MongoDB Million-Collection Performance with Shared WiredTiger Table Space

Tencent’s MongoDB team solved the severe performance degradation caused by millions of collections by redesigning WiredTiger to use a shared table‑space with prefix‑mapped keys, eliminating data‑handle explosion, cutting memory use and lock contention, reducing startup from hours to minutes, and boosting read/write throughput by up to two orders of magnitude while preserving full MongoDB compatibility.

Database EngineeringMongoDBPerformance Optimization
0 likes · 20 min read
Improving MongoDB Million-Collection Performance with Shared WiredTiger Table Space
Tencent Database Technology
Tencent Database Technology
Jul 29, 2021 · Databases

Performance Optimization of MongoDB for Million‑Scale Collections Using Shared Table Space Architecture

The Tencent CMongo team analyzed severe memory consumption, slow queries, and hour‑long startup caused by millions of MongoDB collections, identified bottlenecks in WiredTiger’s data‑handle management and schema‑lock handling, and introduced a shared‑table‑space architecture that reduces WT tables to a handful, achieving 1‑2 order‑of‑magnitude speedups and eliminating OOM failures.

MongoDBShared Table SpaceStorage Engine
0 likes · 19 min read
Performance Optimization of MongoDB for Million‑Scale Collections Using Shared Table Space Architecture
dbaplus Community
dbaplus Community
Jun 27, 2021 · Databases

How to Optimize a Billion‑Scale MongoDB Cluster for Sub‑Second Latency on Limited Hardware

This article details a real‑world case of a hundred‑billion‑record MongoDB deployment that retains only seven days of data, describing resource assessment, sharding strategy, container specs, and multiple rounds of storage‑engine and TTL‑deletion tuning that reduced latency from hundreds of milliseconds to 0.5‑2 ms without adding nodes.

Container DeploymentMongoDBTTL
0 likes · 11 min read
How to Optimize a Billion‑Scale MongoDB Cluster for Sub‑Second Latency on Limited Hardware
Architecture Digest
Architecture Digest
Dec 15, 2019 · Databases

MongoDB High‑Throughput Cluster Optimization: Software, Configuration, and Storage Engine Tuning

This article details how a high‑traffic MongoDB sharded cluster exceeding one million TPS was optimized through software‑level tweaks, configuration changes, WiredTiger storage‑engine tuning, and hardware upgrades, resulting in latency reductions from hundreds of milliseconds to a few milliseconds and significantly improved stability.

Database TuningIO optimizationMongoDB
0 likes · 33 min read
MongoDB High‑Throughput Cluster Optimization: Software, Configuration, and Storage Engine Tuning
dbaplus Community
dbaplus Community
Dec 17, 2018 · Databases

Exploring MongoDB 4.0 Multi-Document ACID Transactions vs MySQL

MongoDB 4.0 introduces multi‑document ACID transactions with snapshot isolation, supporting replica sets and WiredTiger, and this article explains ACID concepts, outlines limitations, demonstrates session commands, and compares transaction behavior—including conflict detection, repeatable reads, and phantom reads—to MySQL’s implementation.

ACID TransactionsMongoDBMySQL Comparison
0 likes · 10 min read
Exploring MongoDB 4.0 Multi-Document ACID Transactions vs MySQL
High Availability Architecture
High Availability Architecture
Jan 20, 2016 · Databases

MongoDB Storage Engine Evolution, Replication Enhancements, and New Features

The article reviews MongoDB's storage engine developments—including MMAP, WiredTiger, RocksDB, and Memory engines—highlights replication protocol improvements, automatic sharding changes, and introduces new features such as batch and partial indexes, document validation, and join capabilities, while providing performance test results and a Q&A section.

MongoDBReplicationStorage Engine
0 likes · 14 min read
MongoDB Storage Engine Evolution, Replication Enhancements, and New Features