db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Is HSQLDB compatible with ASF license?
Date Thu, 10 Feb 2005 00:33:17 GMT
Thanks, but I know why it's slow.  :-)  Disk I/O vs. memory.  

To ensure test isolation, my unit tests drop and recreate the database
to a consistent state between each test.  Sure I could rollback
transactions (which is a questionable test) or manually undo each test
consequence (which is work). This is so much easier.  :-)

As far as I can see, Derby doesn't have an in-memory mode (i.e. no
disk involved).

I'm sure Derby performs quite well under normal use.

Cheers,
Clinton


On Wed, 09 Feb 2005 16:22:43 -0800, Jean T. Anderson
<jta@bristowhill.com> wrote:
> Clinton Begin wrote:
> 
> >Hi all,
> >
> >I love Derby, but for unit testing it's just too slow.  We used to use
> >HSQLDB before iBATIS joined ASF, but I switched to Derby it because I
> >wasn't sure if HSQLDB was compatible with the ASF license.
> >
> >Thoughts?
> >
> >
> maybe ask derby-dev@db.apache.org why it's so slow? Perhaps you might be
> encountering common pitfalls.
> 
> just a suggestion,
> 
>  -jean
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> For additional commands, e-mail: general-help@incubator.apache.org
> 
>

Mime
View raw message