Skip site navigation (1) Skip section navigation (2)

Re: which ext3 fs type should I use for postgresql

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: "pgsql-performance\(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: which ext3 fs type should I use for postgresql
Date: 2008-05-15 15:08:16
Message-ID: 87ve1fwqov.fsf@mnc.ch (view raw or flat)
Thread:
Lists: pgsql-performance
Craig James <craig_james 'at' emolecules.com> writes:

> Matthew Wakeling wrote:
>> Probably of more use are some of the other settings:
>>
>>  -m reserved-blocks-percentage - this reserves a portion of the filesystem
>>     that only root can write to. If root has no need for it, you can kill
>>     this by setting it to zero. The default is for 5% of the disc to be
>>     wasted.
>
> This is not a good idea.  The 5% is NOT reserved for root's
> use, but rather is to prevent severe file fragmentation.  As

Also, IIRC when PG writes data up to a full filesystem,
postmaster won't be able to then restart if the filesystem is
still full (it needs some free disk space for its startup).

Or maybe this has been fixed in recent versions?

-- 
Guillaume Cottenceau

In response to

Responses

pgsql-performance by date

Next:From: Heikki LinnakangasDate: 2008-05-15 15:08:36
Subject: Re: I/O on select count(*)
Previous:From: Craig JamesDate: 2008-05-15 14:57:01
Subject: Re: which ext3 fs type should I use for postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group