Re: How filesystems matter with PostgreSQL

From: Bryan Hinton <bryan(at)bryanhinton(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org, Jon Schewe <jpschewe(at)mtu(dot)net>
Subject: Re: How filesystems matter with PostgreSQL
Date: 2010-06-04 18:20:09
Message-ID: AANLkTikj7QNTV_6XlHPJnCYPAE5kh4ugxns14VoUxD0w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

UFS2 w/ soft updates on FreeBSD might be an interesting addition to the list
of test cases

On Fri, Jun 4, 2010 at 9:33 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:

> On Friday 04 June 2010 16:25:30 Tom Lane wrote:
> > Andres Freund <andres(at)anarazel(dot)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
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Anj Adu 2010-06-04 18:21:28 Re: slow query
Previous Message Bryan Hinton 2010-06-04 18:12:07 Re: Performance tuning for postgres