Tag

Shared Table Space

1 views collected around this technical thread.

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 EngineeringPerformance OptimizationShared Table Space
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.

OptimizationShared Table SpaceWiredTiger
0 likes · 19 min read
Performance Optimization of MongoDB for Million‑Scale Collections Using Shared Table Space Architecture