pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Graeme B. Bell <graeme.bell@nibio.no>
Cc: Wes Vaske (wvaske) <wvaske@micron.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: New server: SSD/RAID recommendations?
Date: Tue, 07 Jul 2015 23:05:06 +0300
Message-ID: <559C30F2.3000703@iki.fi> (raw )
In-Reply-To: <D0185D2A-A218-47D8-A798-2B92ABDCF4CF@skogoglandskap.no >
References: <CAFwQ8rfwyBMD7AiL659qtG+UhsOUZthLSBYF7ODTn6TKxJoTPg@mail.gmail.com >
<VisenaEmail.44.70ed435cef1739b1.14e4c07dd3d@tc7-visena >
<31701C89A44B714FB8D242F806E7286C5AED32FA@NTXBOIMBX01.micron.com >
<CAFwQ8rcaFm9YBx81mRJ35U-p4mgiX8tJfEF0BV+7-EcS3HjbxA@mail.gmail.com >
<31701C89A44B714FB8D242F806E7286C5AED33EB@NTXBOIMBX01.micron.com >
<CAHyXU0w8bKJvv_FTt43SHEQT9ruZ6Sx6VFP8Bsw+h=FEUEjKCw@mail.gmail.com >
<A71AF312-79BD-44EC-88B9-FDD9446D1680@skogoglandskap.no >
<31701C89A44B714FB8D242F806E7286C5AED372E@NTXBOIMBX01.micron.com >
<559BE965.7090609@iki.fi >
<CAOzAquLRumW80Tcn+-t6wyzqT4Q6Sbw15R+vVBA+zgp0=_bRwQ@mail.gmail.com >
<31701C89A44B714FB8D242F806E7286C5AED3892@NTXBOIMBX01.micron.com >
<559C2E31.4060107@iki.fi >
<D0185D2A-A218-47D8-A798-2B92ABDCF4CF@skogoglandskap.no >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 07/07/2015 10:59 PM, Graeme B. Bell wrote:
> Cache flushing isn't an atomic operation though. Even if the ordering
> is right, you are likely to have a partial fsync on the disk when the
> lights go out - isn't your FS still corrupt?
If the filesystem is worth its salt, no. Journaling filesystems for
example rely on the journal to work around that problem, and there are
other mechanisms.
PostgreSQL has exactly the same problem and uses the WAL to solve it.
- Heikki
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
view thread (43+ messages)
Message-ID: <559C30F2.3000703@iki.fi>
Permalink: ../559C30F2.3000703@iki.fi/
Also on: postgresql.org/message-id/559C30F2.3000703@iki.fi
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: hlinnaka@iki.fi, graeme.bell@nibio.no, wvaske@micron.com
Subject: Re: New server: SSD/RAID recommendations?
In-Reply-To: <559C30F2.3000703@iki.fi>
* 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