Re: Opteron/FreeBSD/PostgreSQL performance poor - Mailing list pgsql-performance

From Vivek Khera
Subject Re: Opteron/FreeBSD/PostgreSQL performance poor
Date
Msg-id 41D25DC5-6499-4C80-A7DE-A0D4FA86916D@khera.org
Whole thread Raw
In response to Opteron/FreeBSD/PostgreSQL performance poor  (andy rost <andy.rost@noaa.gov>)
List pgsql-performance
On Jul 5, 2006, at 10:43 AM, andy rost wrote:

> We're in the process of porting from Informix 9.4 to PostgreSQL
> 8.1.3. Our PostgreSQL server is an AMD Opteron Dual Core 275 with
> two 2.2 Ghz 64-bit processors. There are two internal drives and an
> external enclosure containing 14 drives (configured as 7 pairs of
> mirrored drives - four pairs for table spaces, one pair for
> dbcluster, two pairs for point in time recovery). The operating
> system is FreeBSD 6.0-RELEASE #10

What RAID card are you hooked up to?  My best machines have LSI
MegaRAID 320-2X cards in them, with the pairs of each mirrored set on
opposing channels.  My second best machine (into which the above card
will not fit) uses an Adaptec 2230SLP card similarly configured.

The database is mirrored from one box to the other, and a vacuum
analyze takes ~10 hours.

You seem to have done the right things in your postgresql.conf file.

Things I'd like to know before offering advice: how big is your
database?  Ie, what is the "df" output for your various partitions
holding Pg data?  also, how much RAM is in this box?  And finally,
can you show the output of "iostsat -w3" for a few rows during times
when you're having poor performance.



pgsql-performance by date:

Previous
From: Eugeny N Dzhurinsky
Date:
Subject: Re: managing database with thousands of tables
Next
From: andy rost
Date:
Subject: Re: Opteron/FreeBSD/PostgreSQL performance poor