Re: performance problem - 10.000 databases - Mailing list pgsql-admin

From Christopher Browne
Subject Re: performance problem - 10.000 databases
Date
Msg-id 60y8utv72f.fsf@dev6.int.libertyrms.info
Whole thread Raw
In response to Re: performance problem - 10.000 databases  ("scott.marlowe" <scott.marlowe@ihs.com>)
Responses Re: performance problem - 10.000 databases
Re: performance problem - 10.000 databases
List pgsql-admin
threshar@torgo.978.org (Jeff) writes:
> On 06 Nov 2003 15:21:03 +0100
> Marek Florianczyk <franki@tpi.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)

pgsql-admin by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Postgres Web Page
Next
From: "Ivaylo Mutafchiev"
Date:
Subject: Re: delete postmaster.pid on windows xp home edition before startup postmaster