由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - non-GPL free/oss embeded object/xml database?
相关主题
convert array to blobhelp about bitstream writer
为什么大家都要用delimted string穿value呢?怎样吧byte[]变成java.security.Key?
问个关于版权的问题怎麼得到字符串中的raw bytes?
oracle/sun dealHow to parse the bytes[]
Flatfile DB for javaRe: 急问!如何通过jdbc向oracle中加入大于4000个字符的数据?
derby问题请问JSP/SERVLET和MYSQL如何实现照片上载和调用
javaDB,加密问题关于Java Bean的一个有趣问题
问个很简单的问题?Jsp-Mysql for multitype resources
相关话题的讨论汇总
话题: blob话题: database话题: gpl话题: xml话题: oss
进入Java版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
有什么 free/oss (非 gpl)的 java object/xml database 么?打算
写个小程序看看是否能卖钱。
另外 javadb/apache derby 是否支持 variable length byte array?
thx
m******t
发帖数: 2416
2

hsqldb goes under a BSD'ish license. appache derby, of course, is under APL.
Er... can I say RTFM? 8-)

【在 c*****t 的大作中提到】
: 有什么 free/oss (非 gpl)的 java object/xml database 么?打算
: 写个小程序看看是否能卖钱。
: 另外 javadb/apache derby 是否支持 variable length byte array?
: thx

c*****t
发帖数: 1879
3

APL.
Hmm, I tried to read the manual for hsqldb and it wasn't clear to
me.

【在 m******t 的大作中提到】
:
: hsqldb goes under a BSD'ish license. appache derby, of course, is under APL.
: Er... can I say RTFM? 8-)

m******t
发帖数: 2416
4

Is "variable length byte array" the same as BLOB? Or can't you emulate it
with BLOB?

【在 c*****t 的大作中提到】
:
: APL.
: Hmm, I tried to read the manual for hsqldb and it wasn't clear to
: me.

c*****t
发帖数: 1879
5
It is quite different from BLOB. There are a lot of restrictions
for BLOB in terms storage, update, and indexing etc. As the result,
there are implications in terms of the performance, how it can be
utilized etc.
Basically, if I have to use BLOB, I might as well just write my
own database engine. That's how much work gets involved.
Variable length byte array is by no means a trivial feature and
it has profound impact on the database engine itself. PostgreSQL
which supports this feature (and

【在 m******t 的大作中提到】
:
: Is "variable length byte array" the same as BLOB? Or can't you emulate it
: with BLOB?

g*****g
发帖数: 34805
6
It really depends on and how often you are reading/writing it.
I do use Blob to save xml configuration file, and the performance
looks fine for me.

【在 c*****t 的大作中提到】
: It is quite different from BLOB. There are a lot of restrictions
: for BLOB in terms storage, update, and indexing etc. As the result,
: there are implications in terms of the performance, how it can be
: utilized etc.
: Basically, if I have to use BLOB, I might as well just write my
: own database engine. That's how much work gets involved.
: Variable length byte array is by no means a trivial feature and
: it has profound impact on the database engine itself. PostgreSQL
: which supports this feature (and

c*****t
发帖数: 1879
7
I basically need to insert / update / delete such record quite often.
Also, I might need indexing.
Sigh some good databases are either too heavy or not free.

【在 g*****g 的大作中提到】
: It really depends on and how often you are reading/writing it.
: I do use Blob to save xml configuration file, and the performance
: looks fine for me.

m******t
发帖数: 2416
8

My experience with blob/clob wasn't that bad either.
Since you are looking for java databases, I assume you want to embed one in
your application. If that's correct, do you actually care that much about
the performance difference between this and blob?
(bah, I kept mis-typing "blob" as "blog")

【在 c*****t 的大作中提到】
: I basically need to insert / update / delete such record quite often.
: Also, I might need indexing.
: Sigh some good databases are either too heavy or not free.

1 (共1页)
进入Java版参与讨论
相关主题
Jsp-Mysql for multitype resourcesFlatfile DB for java
display an image from db along with other text on jspderby问题
请教:parse CSV文件javaDB,加密问题
Spring JDBC无法正确插入blob到MySQL问个很简单的问题?
convert array to blobhelp about bitstream writer
为什么大家都要用delimted string穿value呢?怎样吧byte[]变成java.security.Key?
问个关于版权的问题怎麼得到字符串中的raw bytes?
oracle/sun dealHow to parse the bytes[]
相关话题的讨论汇总
话题: blob话题: database话题: gpl话题: xml话题: oss