官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 鹤峰县| 星子县| 青神县| 北票市| 甘谷县| 临清市| 平陆县| 临沂市| 沂南县| 西充县| 崇州市| 济南市| 吴堡县| 元朗区| 峨眉山市| 大荔县| 岐山县| 麻栗坡县| 叶城县| 迁西县| 遂昌县| 瑞安市| 阳高县| 洛南县| 中山市| 莱阳市| 大宁县| 华蓥市| 平泉县| 皋兰县| 洪湖市| 江北区| 鹤峰县| 太湖县| 峨边| 云南省| 南宁市| 保山市| 万载县| 紫阳县| 盐亭县|