WAL performance with wal_sync_method = open_sync

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема WAL performance with wal_sync_method = open_sync
Дата
Msg-id 20010428211528H.t-ishii@sra.co.jp
обсуждение исходный текст
Ответы Re: WAL performance with wal_sync_method = open_sync  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I'm playing with wal parameters and found that wal_sync_method =
open_sync enormously enhance the performance on my machine. Without it
(using default fsync) I got only 90 tps at the best using pgbench (-s
2). However if I set wal_sync_method = open_sync, I get ~200 tps. I
have checked PostgreSQL uses O_SYNC flag when it opens WAL log files
using strace. Can anybody tell me why? I am afraid this is just a
dream:-) Linux kernel 2.2.17.
--
Tatsuo Ishii


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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: RE: Re: Any optimizations to the join code in 7.1?
Следующее
От: Roberto Mello
Дата:
Сообщение: Re: Support for %TYPE in CREATE FUNCTION