是否有一个轻量级的,可嵌入的键/值数据库? (像饮食couchdb) [英] Is there a lightweight, embeddable, key/value database? (something like diet couchdb)
问题描述
我想知道是否有一个轻量级的,可嵌入的键/值数据库。
像一个轻量级的Couchdb(RESTful,键/值等)
在CouchDB wiki的相关项目页面的替代方法下,他们提到一些类似的项目:
- Feather DB * CouchDB克隆在java中。
- StrokeDB * 一个用Ruby编写的CouchDB类数据库,可以更容易地嵌入到Ruby应用程序中。
- mongoDB 高性能,开放源代码,无模式的面向文档的数据库。
当然还有东京
还有 neo4j ,它是一个用于java的图形数据库。
当然,CouchDB和其他一些功能的一部分不仅仅是能够存储键/值对,但高容量,复制,特别是视图,这基本上是在文档上运行查询的方式。
如果你只需要一个简单的键/值数据存储,您可以将其嵌入到程序中,而不必持有数据的数据,这是值得尊敬的
如果不了解你的需求(编程语言,并发性要求,数据量等等),有点难以回答, 。
* 网站在撰写本文时似乎不起作用。
I was wondering if there was a lightweight, embeddable, key/value database out there.
Something like a lightweight Couchdb (RESTful, key/value, etc) where you just send it the key and it responds with appropriate values.
Thanks!
On the Related Projects page of the CouchDB wiki, under "Alternatives" they mention some similar projects:
- Feather DB* CouchDB clone in java.
- StrokeDB* A CouchDB-like database written in Ruby to make embedding into Ruby apps easier.
- mongoDB A high-performance, open source, schema-free document-oriented database.
And of course Tokyo Cabinet which has already been mentioned.
There's also neo4j which is a "graph database" for java.
Of course, part of the power of CouchDB and some of the others is not just being able to store key/value pairs, but the high capacity, replication, and in particular views, which are basically the way of running queries over your documents.
If you just needed a simple key/value datastore that you can embed into your program, that doesn't have to hold gigs of data, the venerable GDBM might suit your needs.
A little hard to answer without knowing a bit more about your needs (programming language, concurrency requirements, data volumes and such).
* Web site does not appear to be working at the time of this writing.
这篇关于是否有一个轻量级的,可嵌入的键/值数据库? (像饮食couchdb)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!