Re: Best setting for wal_sync_method

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: Best setting for wal_sync_method
Дата
Msg-id BAY172-W204C9DEAB4D936F45468A5B9DF0@phx.gbl
обсуждение исходный текст
Ответ на Best setting for wal_sync_method  (Ravi Krishna <srkrishna@outlook.com>)
Ответы Re: Best setting for wal_sync_method  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-admin

Speaking to the sys admins we found that the file system where the WAL was written to did not have direct_io and hence all writes were getting buffered. So we enabled direct_io on that FS and now writes are order of magnitude slower (5x times). 

It seems PG already uses O_DIRECT for WAL. So is the enabling of direct_io in the mount options of the FS totally redundant. It definitely has a serious performance impact.

Thanks


From: srkrishna@outlook.com
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Best setting for wal_sync_method
Date: Thu, 7 May 2015 09:36:36 -0400

On RHEL 6.4 which is the best setting for wal_sync_method for write intensive operations. Is the default fdatasync good for all conditions, including reliability. 

Thanks

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

Предыдущее
От: Matheus de Oliveira
Дата:
Сообщение: Re: where table privileges are stored
Следующее
От: Zoltan Szecsei
Дата:
Сообщение: connect postgresql to a different cluster