From: CoL <col@mportal.hu>
To: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: Fri, 07 Nov 2003 10:27:23 +0100
Message-ID: <bofo7r$25ja$1@news.hub.org> (raw)
In-Reply-To: <60y8utv72f.fsf@dev6.int.libertyrms.info>
References: <Pine.LNX.4.33.0311051403510.10816-100000@css120.ihs.com>
<1068128463.10743.30.camel@franki-laptop.tpi.pl>
<20031106093725.20d3a43f.threshar@torgo.978.org>
<60y8utv72f.fsf@dev6.int.libertyrms.info>
Hi,
Christopher Browne wrote, On 11/6/2003 4:40 PM:
> 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.
There is something like: set fsync to off; or set fsync to on;
But it says: 'fsync' cannot be changed now. However could be very useful
to set this option from sql, not just from config.
Tom Lane probably knows why :)
C.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: col@mportal.hu
Subject: Re: performance problem - 10.000 databases
In-Reply-To: <bofo7r$25ja$1@news.hub.org>
References: <Pine.LNX.4.33.0311051403510.10816-100000@css120.ihs.com> <1068128463.10743.30.camel@franki-laptop.tpi.pl> <20031106093725.20d3a43f.threshar@torgo.978.org> <60y8utv72f.fsf@dev6.int.libertyrms.info> <bofo7r$25ja$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox