Re: How filesystems matter with PostgreSQL - Mailing list pgsql-performance

From Andres Freund
Subject Re: How filesystems matter with PostgreSQL
Date
Msg-id 201006041633.23343.andres@anarazel.de
Whole thread Raw
In response to Re: How filesystems matter with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: How filesystems matter with PostgreSQL
Re: How filesystems matter with PostgreSQL
List pgsql-performance
On Friday 04 June 2010 16:25:30 Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On Friday 04 June 2010 14:17:35 Jon Schewe wrote:
> >> 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.
> Or, to put it more clearly: the reason ext3 is fast is that it's unsafe.
Jon: To verify you can enable it via the barrier=1 option during mounting..

Andres

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: How filesystems matter with PostgreSQL
Next
From: Michael Gould
Date:
Subject: Re: Performance tuning for postgres