Re: Tuning PostgreSQL - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: Tuning PostgreSQL
Date
Msg-id 3F1BF701.248.144C5B84@localhost
Whole thread Raw
In response to Tuning PostgreSQL  ("Alexander Priem" <ap@cict.nl>)
List pgsql-performance
On 21 Jul 2003 at 10:31, Alexander Priem wrote:
> What I am thinking about is buying a server with the following specifications:
>
> * 1 or 2 Intel Xeon processors (2.4 GHz).
> * 2 Gigabytes of RAM (DDR/ECC).
> * Three 36Gb SCSI160 disks (10.000rpm) in a RAID-5 config, giving 72Gb storage
> space (right?). The RAID-5 controller has a(hardware) cache of 128Mb.
> * 100Mbit ethernet.
>
> I will run RedHat Linux 9 (kernel 2.40) with PostgreSQL 7.3.3 on this server.

You might scale down a little on hardware front if required. Of course, if you
can get it, get it.

> What would you think of this hardware config? Would it do? Of would 4Gb RAM be
> a lot better? What do you think about the need for two Xeon procs?

I would say get an SMP board with one processor in it. If requierd you can
upgrade. I suppose that would make hefty difference in price.

> shared_buffers = 6000(kernel.shmmax = 60000000)
> sort_mem = 4096
> max_connections = 150
> vacuum_mem = 65536

effective_cache_size
noatime for data partition
A good filesystem.
WAL on separate drive.

Now that is a good start..

Bye
 Shridhar

--
QOTD:    "I'm on a seafood diet -- I see food and I eat it."


pgsql-performance by date:

Previous
From: "Alexander Priem"
Date:
Subject: Tuning PostgreSQL
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Tuning PostgreSQL