We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我只能回答db4o。我对您提到的其他数据库没有足够的经验。
db4o 的另一个优势是拥有一个可以提供帮助和共享知识的社区。
您对数据库有特定的用例场景吗?我认为您应该选择最适合您的应用程序的数据库。
I can only answer for db4o. I don't have enough experience with the other databases you've named.
Another advantage of db4o that has a community which can help and share knowledge.
Do you have a particular use case scenario for the database? I think that you should pick the database which fits you're application the best.
我最近使用了HyperGraphDB,它可以满足您的所有要求。它给我留下了深刻的印象:“HyperGraphDB 是一种通用的开源数据存储机制,基于强大的知识管理形式主义(称为有向超图)。虽然持久内存模型主要为知识管理、人工智能和语义 Web 项目设计,但它也可以用作各种规模的 Java 项目的嵌入式面向对象数据库或图形数据库或(非 SQL)关系数据库。”
I have recently used HyperGraphDB, which satisfies all your requirements. I am pretty impressed with it: "HyperGraphDB is a general purpose, open-source data storage mechanism based on a powerful knowledge management formalism known as directed hypergraphs. While a persistent memory model designed mostly for knowledge management, AI and semantic web projects, it can also be used as an embedded object-oriented database for Java projects of all sizes. Or a graph database. Or a (non-SQL) relational database."
看看 Redis:
http://redis.io/clients
它有 Java 客户端,从个人经验来看,Java对象映射到基于键值的数据库比关系数据库更好,但YMMV取决于您的使用模式和数据类型。
注意:它可能无法满足您的上述所有要求,但您可能可以相当轻松地自己添加此类功能。
更新: https://github.com/xetorthio/johm
Take a look at Redis:
http://redis.io/clients
It has Java clients and from personal experience, Java objects map better to Key-Value based databases than Relational DBs but YMMV depending on your usage patterns and types of data.
Note: It may not cover all of your requirements above, but you could probably add such functionality yourself fairly easily.
Update: https://github.com/xetorthio/johm