是否有小型、持久的文档/对象数据库?
我有一些 .Net 项目,它们可以从使用文档/对象数据库(而不是关系数据库)中受益。我认为 db4o 将是一个不错的选择,但我们不确定成本是多少。我很想使用 MongoDB 但它的设计不适合小规模、单一服务器应用程序。
对于小型应用程序,还有我没有遇到过的其他选项吗?
编辑:那么这是一个还没有好的解决方案的空间吗?有没有小规模的&持久的文档数据库?我的最佳选择是使用 MongoDB 并将 --syncdelay 选项设置为 1 吗?
I have a few .Net projects that would benefit from using a document/object database opposed to a relational one. I think that db4o would be a good choice, but we're not sure how much the cost is. I'd love to use MongoDB but it's design isn't for small scale, single server applications.
Are there other options out there that I just haven't run across for small scale applications?
EDIT: So is this a space that doesn't have a good solution, yet? Are there no small scale & durable document databases? Would my best choice be to use MongoDB and set the --syncdelay option set to 1?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
BerkeleyDB 非常好。
BerkeleyDB is pretty good.
如果它的规模真的很小,只需自己序列化/反序列化即可:)或在嵌入式关系数据库(如 SqLite)中创建基于文档的结构...
if, it's really very small scale, just serialize/deserialize it yourself :) or create a document based structure in an embedded relational database like SqLite...
所以 RavenDB 看起来适合我正在寻找的东西。我研究了源码并试了一下。它是 CouchDB 和 MongoDB 的混合体。主要区别在于它使用 Windows 内置的 ESE 引擎,该引擎提供崩溃恢复功能,这正是我想要的。根据 Ayende 的博客,在发布之前还有很多工作要做,但是跟随 GutHub 的脚步很有趣。
So RavenDB looks to fit what I'm looking for. I played around with the source and gave it a spin. It's a mix of CouchDB and MongoDB. The main difference is that it uses the ESE engine built into Windows which provides crash recovery, which is mainly what I'm looking for. According to Ayende's Blog there's still much more to be done before it's released, but it's fun to follow along from GutHub.