问题描述
我正在寻找一个快速,可嵌入键/值存储用游标语义上键集合(或一个简单的嵌入数据库),我可以在.NET和Mono使用。需要它是开源的,将preFER通过GPL许可的麻省理工学院或Apache风格的许可证。不反对,需要写入,只要二进制代码同时适用于Windows和Linux的绑定库。
I'm looking for a fast, embeddable key/value store with cursor semantics over key collections (or a simple embeddable DB) that I can use in .NET and mono. Need it to be open-source, would prefer an MIT or Apache style license over a GPL license. Not opposed to a library that needs bindings to be written, as long as binaries are available for both windows and linux.
选项考虑:
- 在SQLite的 - 有绑定,本机实现,但单线程,而不是所有的快
- 在嵌入式InnoDB的 - 没有.NET绑定,我可以找到,它是采用GPLv2
- 在伯克利DB - 没有.NET绑定,我能找到
- 在东京柜 - 没有.NET绑定,我能找到的和有问题的基础上窗户
- 疯牛病内存映射的数据结构 - 在GPLv2
有一个选项比上面的好,我很想念,或者绑定在上面,我不知道?
Is there an option better than the above that i'm missing, or bindings for the above i don't know about?
更新:用于Oracle的官方BDB绑定与4.8和5.0,但不能让他们下单的工作。也有一些其他的问题(C#驱动BDB还不够成熟)。写了BitCask启发ķ/ V存储称为Firkin( http://github.com/sdether/Firkin )存储和使用,现在代替。
UPDATE: Used Oracle's official BDB bindings with 4.8 and 5.0 but couldn't get them working under mono. Also had some other issues (C# drivers for BDB are still immature). Wrote a BitCask inspired K/V store called Firkin ( http://github.com/sdether/Firkin ) store and using that now instead.
推荐答案
一个快速搜索Berkeley DB的绑定C#止跌回升 - Berkeley数据库用于.NET
A quick search for Berkeley DB Bindings for C# turned up - Berkeley DB for .NET
这篇关于跨平台嵌入式数据库/ key-value存储对于C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!