ForestDBKey-Value 存儲(chǔ)引擎
ForestDB 是一個(gè)快速的 Key-Value 存儲(chǔ)引擎,基于層次B +樹(shù)單詞查找樹(shù)。由 Couchbase 緩存和存儲(chǔ)團(tuán)隊(duì)開(kāi)發(fā)。
關(guān)鍵特性:
Key 和 Value 可以是任意二進(jìn)制值
應(yīng)用可以定制比較函數(shù)來(lái)支持自定義的 Key 順序
可通過(guò)順序號(hào)來(lái)獲取 Value 值或者是 Key 的磁盤(pán)偏移量
Write-Ahead Logging (WAL) and its in-memory index are used to reduce the main index lookup / update overhead.
支持多版本并發(fā)控制 MVCC 和只追加的存儲(chǔ)層
可創(chuàng)建多快照實(shí)例來(lái)提供數(shù)據(jù)庫(kù)的不同視圖
支持回滾
Ranged iteration by keys or sequence numbers is supported for a partial or full range lookup operation.
可針對(duì)每個(gè) ForestDB 數(shù)據(jù)庫(kù)文件配置手工和自動(dòng)的壓縮
支持 read_committed 或者 read_uncommitted 事務(wù)隔離級(jí)別
評(píng)論
圖片
表情
