Re: Update on putting WAL on ramdisk/

Поиск
Список
Период
Сортировка
От William Yu
Тема Re: Update on putting WAL on ramdisk/
Дата
Msg-id brdge4$2u4v$1@news.hub.org
обсуждение исходный текст
Ответ на Re: Update on putting WAL on ramdisk/  ("Russell Garrett" <rg@tcslon.com>)
Список pgsql-performance
Russell Garrett wrote:
>>WAL on single drive: 7.990 rec/s
>>WAL on 2nd IDE drive: 8.329 rec/s
>>WAL on tmpfs: 13.172 rec/s
>>
>>A huge jump in performance but a bit scary having a WAL that can
>>disappear at any time. I'm gonna workup a rsync script and do some
>>power-off experiments to see how badly it gets mangled.
>
>
> Surely this is just equivalent to disabling fsync? If you put a WAL on a
> volatile file system, there's not a whole lot of point in having one at all.

These tests were all with fsync off.

And no, it's not equivalent to fsync off since the WAL is always written
immediately regardless of fsync setting.


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

Предыдущее
От: "Russell Garrett"
Дата:
Сообщение: Re: Update on putting WAL on ramdisk/
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Tables Without OIDS and its effect