db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kilian Evang <stromp...@texttheater.de>
Subject Re: DB in temporary directory
Date Sun, 07 Jun 2009 10:34:35 GMT
Hi Francois,

On Sat, 2009-06-06 at 18:02 -0700, Francois Orsini wrote:
> You might want to use an in-memory DB if you don't need to preserve it
> across new instances...
> 
> Derby's In-Memory instrumental feature has been added in 10.5.1 which
> is now available.

neat! However, I use the DB mainly to avoid running out of memory, so I
think this is not an option for me.

> If you still want to create your database in a temp directory, you
> could do it such as:
> //Unix-like
> connect 'jdbc:derby:/tmp/MyDBNAME;create=true';
> 
> or
> 
> // Windows
> connect 'jdbc:derby:C:/temp/MyDBNAME;create=true';

Thanks a bunch, this worked!

~ Kilian


Mime
View raw message