From: Jeff <threshar@torgo.978.org>
To: Marek Florianczyk <franki@tpi.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: Thu, 6 Nov 2003 09:37:25 -0500
Message-ID: <20031106093725.20d3a43f.threshar@torgo.978.org> (raw)
In-Reply-To: <1068128463.10743.30.camel@franki-laptop.tpi.pl>
References: <Pine.LNX.4.33.0311051403510.10816-100000@css120.ihs.com>
<1068128463.10743.30.camel@franki-laptop.tpi.pl>
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!
> wal_buffers = 1024
This also seems high. come to think about it- shared_buffers is also
high.
> commit_delay = 10000
I could also read to data loss, but you'll get a speed increase on
inserts.
One of the best things you can do to increase insert speed is a nice,
battery backed raid card with a pile of disks hanging off of it.
--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/http://www.stuarthamm.net/
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: threshar@torgo.978.org, franki@tpi.pl
Subject: Re: performance problem - 10.000 databases
In-Reply-To: <20031106093725.20d3a43f.threshar@torgo.978.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>
* 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