Re: performance problem - 10.000 databases

From: Christopher Browne <cbbrowne(at)libertyrms(dot)info>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: performance problem - 10.000 databases
Date: 2003-11-06 15:40:40
Message-ID: 60y8utv72f.fsf@dev6.int.libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

threshar(at)torgo(dot)978(dot)org (Jeff) writes:
> On 06 Nov 2003 15:21:03 +0100
> Marek Florianczyk <franki(at)tpi(dot)pl> wrote:
>
>> fsync = false
>
> HOLD THE BOAT THERE BATMAN!
>
> I would *STRONGLY* advise not running with fsync=false in production as
> PG _CANNOT_ guaruntee data consistancy in the event of a hardware
> failure. It would sure suck to have a power failure screw up your nice
> db for the users!

On one of our test servers, I set "fsync=false", and a test load's
load time dropped from about 90 minutes to 3 minutes. (It was REALLY
update heavy, with huge numbers of tiny transactions.)

Which is, yes, quite spectacularly faster. But also quite
spectacularly unsafe.

I'm willing to live with the risk on a test box whose purpose is
_testing_; it's certainly not a good thing to do in production.
--
let name="cbbrowne" and tld="libertyrms.info" in String.concat "@" [name;tld];;
<http://dev6.int.libertyrms.com/>
Christopher Browne
(416) 646 3304 x124 (land)

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2003-11-06 17:19:54 Re: data format problem for upgrede from 7.1->7.3
Previous Message Tom Lane 2003-11-06 15:17:45 Re: performance problem - 10.000 databases