Re: 12 disks raid setup

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: 12 disks raid setup
Дата
Msg-id dcc563d10803010444m3002be30r1b23fbcfac085336@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 12 disks raid setup  (Franck Routier <franck.routier@axege.com>)
Ответы Re: 12 disks raid setup
Список pgsql-performance
On Sat, Mar 1, 2008 at 4:27 AM, Franck Routier <franck.routier@axege.com> wrote:
> Hi,
>
>  Le vendredi 29 février 2008 à 23:56 -0500, Greg Smith a écrit :
>  > Wording is intentional--if you don't have a battery for it, the cache has
>  > to be turned off (or set to write-through so it's only being used on
>  > reads) in order for the database to be reliable.  If you can't finish
>  > writes after a power off, you can't cache writes and expect your database
>  > to survive for too long.
>
>  Well, am I just wrong, or the file system might also heavily rely on
>  cache, especially as I use XFS ?
>
>  So anyway Postgresql has no way to know if the data is really on the
>  disk, and in case of a brutal outage, the system may definitely lose
>  data, wether there is another level of caching (Raid controller) or
>  not...
>
>  Right ?

nope.  assuming your disk subsystem doesn't lie about write
completion, then postgresql can recover from complete and sudden loss
of power without any data loss.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Franck Routier
Дата:
Сообщение: Re: 12 disks raid setup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 12 disks raid setup