Re: We really ought to do something about O_DIRECT and data=journalled on ext4 - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Date
Msg-id 4CF69B49.2000904@agliodbs.com
Whole thread Raw
In response to Re: We really ought to do something about O_DIRECT and data=journalled on ext4  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improved JDBC driver part 2
Next
From: Heikki Linnakangas
Date:
Subject: Re: Hi- How frequently Postgres Poll for trigger file