- MongoDB Administrator’s Guide
- Cyrus Dasadia
- 212字
- 2021-07-02 15:47:43
MMAPv1
MMAPv1 is quite mature and has proven to be quite stable over the years. One of the storage allocation strategies used with this engine is the power of two allocation strategy. This primarily involves storing double the amount of document space (in power of twos) such that in-place updates of documents become highly likely without having to move the documents during updates. Another storage strategy used with this engine is fixed sizing. In this, the documents are padded (for example, with zeros) such that maximum data allocation for each document is attained. This strategy is usually followed by applications that have fewer updates.
Consistency in MMAPv1 is achieved by journaling, where writes are written to a private view in memory which are written to the on-disk journal. Upon which the changes are then written to a shared view that is the data files. There is no support for data compression with MMAPv1. Lastly, MMAPv1 heavily relies on page caches and hence uses up available memory to retain the working dataset in cache thus providing good performance. Although, MongoDB does yield (free up) memory, used for cache, if another process demands it. Some production deployments avoid enabling swap space to ensure these caches are not written to disk which may deteriorate performance.
- 基于粒計算模型的圖像處理
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- Python零基礎快樂學習之旅(K12實戰訓練)
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- UML 基礎與 Rose 建模案例(第3版)
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- 單片機C語言程序設計實訓100例
- Python Data Structures and Algorithms
- Mastering Git
- Python全棧數據工程師養成攻略(視頻講解版)
- Visual Basic程序設計全程指南
- C++ System Programming Cookbook
- SQL Server 2012 數據庫應用教程(第3版)
- Python數據預處理技術與實踐