You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Isuru Haththotuwa <is...@gmail.com> on 2011/06/10 04:51:48 UTC

Running Deryb on a Flash Drive

Hi all,

Is it possible to run Apache Derby from a usb drive other than the normal
hard disk? If so, how to do this?

-- 
Thanks and Regards,
Isuru

Re: Running Deryb on a Flash Drive

Posted by "Dag H. Wanvik" <da...@oracle.com>.
Tiago Espinha <ti...@espinhas.net> writes:

> Hi Isuru,
>
> Running Derby from a USB drive is no different than running it from a hard
> drive. Apache Derby is a normal Java application and it does not depend on
> the medium it is executed on. Simply place the JAR in the USB drive and use
> it from there.

Although the performance might not be exactly stellar ;-) One could
increase the page cache so most of the db fit in memory if possible to
alleviate this (somewhat). I think a read-only database on a USB-drive
resonable scenario..

Dag

>
> Regards,
> Tiago
>
> On Fri, Jun 10, 2011 at 4:51 AM, Isuru Haththotuwa <is...@gmail.com>wrote:
>
>> Hi all,
>>
>> Is it possible to run Apache Derby from a usb drive other than the normal
>> hard disk? If so, how to do this?
>>
>> --
>> Thanks and Regards,
>> Isuru
>>
>>

Re: Running Deryb on a Flash Drive

Posted by Tiago Espinha <ti...@espinhas.net>.
Hi Isuru,

Running Derby from a USB drive is no different than running it from a hard
drive. Apache Derby is a normal Java application and it does not depend on
the medium it is executed on. Simply place the JAR in the USB drive and use
it from there.

Regards,
Tiago

On Fri, Jun 10, 2011 at 4:51 AM, Isuru Haththotuwa <is...@gmail.com>wrote:

> Hi all,
>
> Is it possible to run Apache Derby from a usb drive other than the normal
> hard disk? If so, how to do this?
>
> --
> Thanks and Regards,
> Isuru
>
>