Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marti Raudsepp <marti@juffo.org>
Cc: pgsql-hackers@postgresql.org
Date: 2010-11-05T18:13:47Z
Lists: pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes: > PostgreSQL's default settings change when built with Linux kernel > headers 2.6.33 or newer. As discussed on the pgsql-performance list, > this causes a significant performance regression: > http://archives.postgresql.org/pgsql-performance/2010-10/msg00602.php > NB! I am not proposing to change the default -- to the contrary -- > this patch restores old behavior. I'm less than convinced this is the right approach ... If open_dsync is so bad for performance on Linux, maybe it's bad everywhere? Should we be rethinking the default preference order? regards, tom lane