Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+
From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Marti Raudsepp <marti(at)juffo(dot)org>
Cc:
pgsql-hackers(at)postgresql(dot)org
Subject:
Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+
Date:
2010-11-05 18:13:47
Message-ID:
27641.1288980827@sss.pgh.pa.us (view raw or flat )
Thread:
2010-11-05 17:23:35 from Marti Raudsepp <marti(at)juffo(dot)org>
2010-11-05 18:13:47 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-11-05 19:15:26 from Marti Raudsepp <marti(at)juffo(dot)org>
2010-11-05 19:20:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-11-05 19:52:45 from Marti Raudsepp <marti(at)juffo(dot)org>
2010-11-05 20:16:40 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-11-05 21:09:48 from Marti Raudsepp <marti(at)juffo(dot)org>
2010-11-05 20:54:57 from Andres Freund <andres(at)anarazel(dot)de>
2010-11-05 22:07:10 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-11-05 22:14:02 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-11-05 22:31:07 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-11-05 22:33:03 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-11-07 23:44:48 from Greg Smith <greg(at)2ndquadrant(dot)com>
2010-12-03 20:25:02 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-05 03:12:57 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-05 22:12:18 from Greg Smith <greg(at)2ndquadrant(dot)com>
2010-12-07 00:41:06 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-07 01:38:14 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-12-07 01:59:53 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2010-12-07 02:05:12 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-07 02:13:29 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2010-12-09 20:14:25 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-23 01:38:01 from Bruce Momjian <bruce(at)momjian(dot)us>
2011-01-15 16:58:46 from Bruce Momjian <bruce(at)momjian(dot)us>
2010-12-23 01:49:17 from Bruce Momjian <bruce(at)momjian(dot)us>
2010-12-23 22:45:44 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-12-23 23:29:24 from Josh Berkus <josh(at)agliodbs(dot)com>
2010-11-05 21:53:37 from Greg Smith <greg(at)2ndquadrant(dot)com>
2010-11-05 22:08:00 from Andres Freund <andres(at)anarazel(dot)de>
2010-11-15 01:09:27 from Greg Smith <greg(at)2ndquadrant(dot)com>
Lists:
pgsql-hackers
Marti Raudsepp <marti(at)juffo(dot)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
In response to
Responses
pgsql-hackers by date
Next :From: Dimitri FontaineDate: 2010-11-05 18:14:43
Subject : Re: ALTER OBJECT any_name SET SCHEMA name
Previous :From : Tom LaneDate : 2010-11-05 18:04:15
Subject : Re: ALTER TABLE ... IF EXISTS feature?