gpt4 book ai didi

javascript - levelDB 是否仍然损坏数据?

转载 作者:搜寻专家 更新时间:2023-11-01 00:39:19 25 4
gpt4 key购买 nike

我正在编写一个小型 NodeJS 应用程序,我需要某种类型的数据库。 LevelDB ( LevelUP ) 和 NeDB接缝是最流行的,那么选择哪个...

根据 Wikipedia on 18th Nov. 2016 , LevelDB 经常损坏数据。

LevelDB is widely noted for being unreliable and databases it manages are prone to corruption.[13][14][15][16][17][18][19][20] Academic studies of past versions of LevelDB[21][22] have found that, under some file systems, the data stored in those versions of LevelDB might become inconsistent after a system crash or power failure. LevelDB corruption is so commonplace that corruption detection has to be built in to applications that use it.[23]

问题

这是过去的事了,不再是问题了吗?

最佳答案

LevelDB 仍然以不可靠和容易损坏而臭名昭著。有相当some仍然需要解决的问题。

在我看来,NeDB 似乎是一个更好的选择。

编辑:自从写下这个答案后,已经有一段时间没有使用关卡数据库了。

关于javascript - levelDB 是否仍然损坏数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40675204/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com