Re: IO scheduler recommendation

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Ron <ronljohnsonjr(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: IO scheduler recommendation
Date: 2019-01-22 09:21:30
Message-ID: 90f7dc4ae8f31543093cb6d618135ceb7dee5fac.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ron wrote:
> Isn't the use of NFS pretty high on the "things not to do with Postgres" list?

There is a strong sentiment against PostgreSQL on NFS, voiced by people
I tend to trust, but the only detailed horror story I have heard is about
a "bg" mounted NFS file system that wasn't mounted yet when PostgreSQL
was started, and the startup script decided to run "initdb", during which
the mount finally succeeded.

If you browse the archives you will read that "NFS is unreliable" and
"it depends on the implementation, but Linux' implementation is bad"
and such, but without any technical detail ever being mentioned.

That may not be the fault of the people who propagate these opinions -
perhaps they experienced database corruption using NFS, but don't know
exactly which part of NFS caused the problem exactly how.

There are some other voices that say that it works just fine, if you
configure it properly.

The feeling I get from all this is that it is an experimental field,
and everybody who wants to use it would be well advised to run tests
covering all kinds of crash scenarios under load.

I'd still be curious to know if there is someone who can supply
technical details about what *exactly* is wrong with NFS.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andrzej Zawadzki 2019-01-22 09:42:41 Re: IO scheduler recommendation
Previous Message AB_ba# 2019-01-22 08:40:33 Re: IO scheduler recommendation