From: Jason Coene <jcoene@gotfrag.com>
To: pgsql-performance@postgresql.org
Subject: Hardware upgrade for a high-traffic database
Date: Tue, 10 Aug 2004 15:17:32 -0400
Message-ID: <200408101917.i7AJHR0E064106@mail.gotfrag.com> (raw)
Hi All,
We're currently running Postgres 7.4.1 on FreeBSD 5.2, a Dual Xeon 2.4, 2GB
ECC, 3Ware Serial ATA RAID 5 w/ 4 disks (SLOW!!).
Our database is about 20GB on disk, we have some quite large tables - 2M
rows with TEXT fields in a sample table, accessed constantly. We average
about 4,000 - 5,000 queries per second - all from web traffic. As you can
imagine, we're quite disk limited and checkpoints can be killer.
Additionally, we see queries and connections getting serialized due to
queries that take a long time (5 sec or so) while waiting on disk access.
No fun at all.
We've tweaked everything long and hard, and at the end of the day, the disk
is killing us.
We're looking to upgrade our server - or rather, replace it as it has no
upgrade path to SCSI. I'm considering going Opteron (though right now we
don't need more CPU time), and am looking for suggestions on what an optimal
RAID configuration may look like (disks, controller, cache setting). We're
in the market to buy right now - any good vendor suggestions?
I'd appreciate any input, thanks!
Jason
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-performance@postgresql.org
Cc: jcoene@gotfrag.com
Subject: Re: Hardware upgrade for a high-traffic database
In-Reply-To: <200408101917.i7AJHR0E064106@mail.gotfrag.com>
References: <200408101917.i7AJHR0E064106@mail.gotfrag.com>
* 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