pg.ddx.io pgsql-performance@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Dimitri <dimitrik.fr@gmail.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Filesystem Direct I/O and WAL sync option
Date: Wed, 4 Jul 2007 12:26:10 +0200
Message-ID: <5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com> (raw)
In-Reply-To: <87lkdx0y5d.fsf@oxford.xeocode.com>
References: <5482c80a0707030754o740c82b6s4598dc668720d014@mail.gmail.com>
<468A65F5.8020800@enterprisedb.com>
<5482c80a0707030826v38c59870ib90599ba43337e72@mail.gmail.com>
<87lkdx0y5d.fsf@oxford.xeocode.com>
Yes Gregory, that's why I'm asking, because from 1800 transactions/sec
I'm jumping to 2800 transactions/sec! and it's more than important
performance level increase :))
Rgds,
-Dimitri
On 7/4/07, Gregory Stark <stark@enterprisedb.com> wrote:
>
> "Dimitri" <dimitrik.fr@gmail.com> writes:
>
> > Yes, disk drives are also having cache disabled or having cache on
> > controllers and battery protected (in case of more high-level
> > storage) - but is it enough to expect data consistency?... (I was
> > surprised about checkpoint sync, but does it always calls write()
> > anyway? because in this way it should work without fsync)...
>
> Well if everything is mounted in sync mode then I suppose you have the same
> guarantee as if fsync were called after every single write. If that's true
> then surely that's at least as good. I'm curious how it performs though.
>
> Actually it seems like in that configuration fsync should be basically
> zero-cost. In other words, you should be able to leave fsync=on and get the
> same performance (whatever that is) and not have to worry about any risks.
>
> --
> Gregory Stark
> EnterpriseDB http://www.enterprisedb.com
>
>
view thread (10+ messages) latest in thread
Message-ID: <5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com> Permalink: ../5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com/ Also on: postgresql.org/message-id/5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-performance@postgresql.org Cc: dimitrik.fr@gmail.com, stark@enterprisedb.com, heikki@enterprisedb.com Subject: Re: Filesystem Direct I/O and WAL sync option In-Reply-To: <5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com> References: <5482c80a0707030754o740c82b6s4598dc668720d014@mail.gmail.com> <468A65F5.8020800@enterprisedb.com> <5482c80a0707030826v38c59870ib90599ba43337e72@mail.gmail.com> <87lkdx0y5d.fsf@oxford.xeocode.com> <5482c80a0707040326v1229f11dh2a69278365c1de8c@mail.gmail.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox