pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-performance@postgresql.org
Cc: Jon Schewe <jpschewe@mtu.net>
Subject: Re: How filesystems matter with PostgreSQL
Date: Fri, 4 Jun 2010 15:04:02 +0200
Message-ID: <201006041504.03218.andres@anarazel.de> (raw)
In-Reply-To: <4C08EEDF.7090403@mtu.net>
References: <4C08EEDF.7090403@mtu.net>

On Friday 04 June 2010 14:17:35 Jon Schewe wrote:
> Some interesting data about different filesystems I tried with
> PostgreSQL and how it came out.
> 
> I have an application that is backed in postgres using Java JDBC to
> access it. The tests were all done on an opensuse 11.2 64-bit machine,
> on the same hard drive (just ran mkfs between each test) on the same
> input with the same code base. All filesystems were created with the
> default options.
> 
> XFS (logbufs=8): ~4 hours to finish
> ext4: ~1 hour 50 minutes to finish
> ext3: 15 minutes to finish
> ext3 on LVM: 15 minutes to finish
My guess is that some of the difference comes from barrier differences. ext4 
uses barriers by default, ext3 does not.

Andres



view thread (23+ messages)  latest in thread

Message-ID: <201006041504.03218.andres@anarazel.de>
Permalink:  ../201006041504.03218.andres@anarazel.de/
Also on:    postgresql.org/message-id/201006041504.03218.andres@anarazel.de

 · 

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: andres@anarazel.de, jpschewe@mtu.net
  Subject: Re: How filesystems matter with PostgreSQL
  In-Reply-To: <201006041504.03218.andres@anarazel.de>

* 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