db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald McLean <dmclea...@gmail.com>
Subject Re: NFS and Derby
Date Thu, 11 Nov 2010 16:18:49 GMT
A "local" database on an NFS mounted disk? I would never consider such a thing.

My experience with NFS mounted resources is that network congestion
can cause all sorts of nasty side effects. Even something as simple as
an unexpectedly slow read or write can cause unanticipated cascading
failure conditions. And no matter what value is used for a timeout,
you can pretty much guarantee that it will be exceeded eventually.

I realize that this doesn't address Derby specific concerns such as
database corruption. Fortunately, I have no experience with that.

Donald

On Thu, Nov 11, 2010 at 10:56 AM, Kathey Marsden
<kmarsdenderby@sbcglobal.net> wrote:
> I have always told users they have to have their databases on a local disk
> to ensure data integrity and that  a system crash for an NFS mounted
> database could cause fatal corruption, but had a user this morning take me
> to task on this and ask me to explain exactly why.  I gave my general
> response about not being able to guarantee a sync to disk over the network,
> but want to have a more authoritative reference for why  you cannot count on
> an NFS mounted disk although I did find several places where the sync option
> "favors data integrity" which certainly doesn't sound like a guarantee.
>  Does anyone know a good general reference I can use on this topic to
> support my "you gotta use a local disk" mantra.
>
>
> Also I think our documentation on this topic should be a bit stronger.
>  Currently we just say it may not work and probably should be clearer that
> data corruption could occur.  I will file an issue to beef up the language
> based on the conversation in this thread.
>
> http://db.apache.org/derby/docs/10.5/devguide/cdevdvlp40350.html

Mime
View raw message