Java的最快自由可再发行数据库 [英] Fastest Freely Redistributable Database for Java

查看:101
本文介绍了Java的最快自由可再发行数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个新的开源应用程序寻找最好的数据库软件。主要的标准是在数以万计的条目中进行搜索需要快速。理想情况下,它将完全基于Java,但只是有一个Java API是可以的。我正在寻找根据GPL的许可,所以项目将必须与之兼容。到目前为止,SQLite似乎是最普遍的解决方案,但我不想忽略别的东西,如果它可以变得更好。

I'm looking for the best database software for a new open source application. The primary criteria is it has to be lightning fast for searching among tens of thousands of entries. Ideally it would be entirely Java based but simply having a Java API is OK. I'm looking to license under GPL so the project would have to be compatible with that. So far SQLite seems to be the most ubiquitous solution but I don't want to overlook something else if it could turn out to be better.

当我搜索一般互联网,大多数结果似乎是对象数据库。我不在乎数据库是基于对象还是关系,我不会我在乎如果它是NoSQL。我有很多MySQL的经验,但我不怕恐怕学习一个新的查询语言或接口,如果它的方式更快。将管理的主要类型的数据是具有至少20个元数据字段的文件名;我想要拥有多个具有相同字段的数据集,并且还可以在数据库中存储一些应用程序首选项。

When I search the general internet, most results seems to be for object databases. I don't care if the database is object-based or relational, and I don't think I care if it's "NoSQL" . I have lots of experience with MySQL but I'm not terribly afraid of learning a new query language or interface if it's faster that way. The main kind of data this will be managing is filenames with at least 20 metadata fields attached; I'd want to have multiple datasets with the same fields, and it would be nice to also store some application preferences in the database.

我从一些回复中看到可能会混淆我的(前)使用嵌入的标题。我想澄清一下,我的意思是嵌入在应用程序中并重新分发,而不是在嵌入式设备上使用。该应用程序目前针对的是全尺寸计算机,尽管理想情况下它完全基于java是创建Android版本的梦幻愿望。

I see from some responses that there may be confusion about my (former) use of "embedded" in the title. I want to clarify that I mean "embedded in the application and redistributed" and not "in use on an embedded device." The application is currently targeting full scale computers, although one reason for "ideally it would be entirely java based" is a dreamy aspiration of creating an Android version.

推荐答案

查看 http://www.polepos.org/ 有一个基准,其中隐藏了 http://www.db4o.com/
是最快的嵌入式dbs之一。

Take a look at http://www.polepos.org/ there is a benchmark which clains thathttp://www.db4o.com/ is one of the fastest embedded dbs.

我个人使用db4o,它非常好,它的GPL许可,所以它应该可能符合你的需要

I personally worked with db4o and its very nice and its licensed under GPL so it should possibly fit your needs

这篇关于Java的最快自由可再发行数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆