Skip site navigation (1) Skip section navigation (2)

Re: We really ought to do something about O_DIRECT and data=journalled on ext4

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Date: 2010-12-01 19:00:25
Message-ID: 4CF69B49.2000904@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-hackers
> However, this doesn't really address the question of what a sensible
> choice of default is.  If there's little evidence about whether the
> current flavor of open_datasync is really the fastest way, there's
> none whatsoever that establishes open_datasync_without_o_direct
> being a sane choice of default.

No, I'd switch to fdatasync.  That's the performance that most people
are familiar with anyway, since it was all Linux supported before.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2010-12-01 19:03:38
Subject: Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Previous:From: Heikki LinnakangasDate: 2010-12-01 18:58:48
Subject: Re: Hi- How frequently Postgres Poll for trigger file

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group