Tuning/performance issue....

From: David Griffiths <dgriffiths(at)boats(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Tuning/performance issue....
Date: 2003-09-30 20:25:50
Message-ID: 058d01c38791$0d0a91b0$6501a8c0@griffiths2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

And finally,

Here's the contents of the postgresql.conf file (I've been playing with
these setting the last couple of days, and using the guide @
http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.html
<http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.htm
l> to make sure I didn't have it mis-tuned):

tcpip_socket = true
max_connections = 500 # We will need quite a few connections;
currently only one connection to database, however
port = 5432
shared_buffers = 5000 # I've tried 5000 to 80,000 with no
apparent difference
wal_buffers = 16
sort_mem = 256 # decreased this due to the large # of
connectiosn
effective_cache_size = 50000 # read that this can improve performance;
hasn't done anything.

The machine is a dual-Pentium 3 933mhz, with 2 gigabytes of RAM and a
3Ware RAID-5 card.

As a reference, our production Oracle database (exactly the same
hardware, but RAID-mirroring) with way more load can handle the query in
1-2 seconds. I have MySQL 4.0.14 with InnoDB on the same machine
(shutdown when I am testing Postgres, and visa versa) and it does the
query in 0.20 seconds.

Thanks for any insight.
David.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Vivek Khera 2003-09-30 20:30:15 Re: advice on raid controller
Previous Message David Griffiths 2003-09-30 20:25:05 Tuning/performance issue (part 2)