NutsDB v0.5.0 釋出~

xujiajun發表於2019-11-28

NutsDB v0.5.0 釋出

專案地址

https://github.com/xujiajun/nutsdb

Changelog

  • [New feature] Support EntryIdxMode: HintBPTSparseIdxMode

  • [New feature] Support GetAll() function for all models

  • [Bug Fix] Fix error too many open files in system

  • [Bug Fix] Fix constant 2147483648 overflows int

  • [Bug Fix] Fix when the number of files waiting to be merged not at least 2

  • [Bug Fix] Fix data pollution when executing the merge method

  • [Change] Modify Records type && Entries type

  • [Change] Refactor for tx Commit function

  • [Change] Update Iterating over keys about README

  • [Change] Fix some grammatical mistakes about README

  • [Change] Rename variable for func ReadBPTreeRootIdxAt

  • [Change] Add issue templates

  • [Change] Update README && CHANGELOG

總結

這次的變化,主要是增加了HintBPTSparseIdxMode 這個模式,這個模式下,經測試 10 億條資料,只要 100mb 不到的記憶體消耗,起因是這個issue, 一哥們說消耗記憶體太大。

最後

最後,歡迎大家嘗試,star 收藏+支援,提 issue,PR 貢獻程式碼。

相關文章