From: | Jim Nasby <jnasby(at)pervasive(dot)com> |
---|---|
To: | Vivek Khera <vivek(at)khera(dot)org> |
Cc: | Postgresql Performance <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: freebsd/softupdates for data dir |
Date: | 2006-04-05 22:07:30 |
Message-ID: | A3A08921-7B37-448A-8F34-A921FECC8BC8@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Apr 4, 2006, at 10:41 AM, Vivek Khera wrote:
> On Apr 3, 2006, at 10:10 PM, Mark Kirkwood wrote:
>
>> I've always left them on, and never had any issues...(even after
>> unscheduled power loss - which happened here yesterday). As I
>> understand it, the softupdate code reorders *metadata* operations,
>> and does not alter data operations - so the effect of fysnc(2) on
>> a preexisting file is not changed by softupdates being on or off.
>
> This is also my understanding, and I also leave softupdates on for
> the data partition. Even if it doesn't improve performance, it
> will not reduce it, and otherwise does no harm with respect to
> postgres' disk usage.
More importantly, it allows the system to come up and do fsck in the
background. If you've got a large database that's a pretty big benefit.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2006-04-05 22:08:29 | Re: Sun Fire T2000 and PostgreSQL 8.1.3 |
Previous Message | Josh Berkus | 2006-04-05 22:01:39 | Re: Sun Fire T2000 and PostgreSQL 8.1.3 |