- MongoDB Administrator’s Guide
- Cyrus Dasadia
- 209字
- 2021-07-02 15:47:43
WiredTiger
WiredTiger provides the ability, for multiple clients, to perform write operations on the same collection. This is achieved by providing document-level concurrency such that during a given write operation, the database only locks a given document in the collection as against its predecessors, which would lock the entire collection. This drastically improves performance for write heavy applications. Additionally, WiredTiger provides compression of data for indexes and collections. The current compression algorithms used by WiredTiger are Google's Snappy and zLib. Although disabling compression is possible, one should not immediately jump this gun unless it is truly load-tested while planning your storage strategy.
WiredTiger uses Multi-Version Concurrency Control (MVCC) that allows asserting point-in-time snapshots of transactions. These finalized snapshots are written to disk which helps create checkpoints in the database. These checkpoints eventually help determine the last good state of data files and helps in recovery of data during abnormal shutdowns. Additionally, journaling is also supported with WiredTiger where write-ahead transaction logs are maintained. The combination of journaling and checkpoints increases the chance of data recovery during failures. WiredTiger uses internal caching as well as filesystem cache to provide faster responses on queries. With high concurrency in mind, the architecture of WiredTiger is such that it better utilizes multi-core systems.
- C語言程序設計案例教程(第2版)
- The Android Game Developer's Handbook
- Leap Motion Development Essentials
- 實戰Java高并發程序設計(第3版)
- 全棧自動化測試實戰:基于TestNG、HttpClient、Selenium和Appium
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- ElasticSearch Cookbook(Second Edition)
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- C語言程序設計與應用(第2版)
- App Inventor少兒趣味編程動手做
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)
- INSTANT Apache Hive Essentials How-to
- 一步一步學Spring Boot:微服務項目實戰(第2版)
- 小學生C++趣味編程從入門到精通