Re: Performance tuning in PostgreSQL

From: dev(at)archonet(dot)com
To: "Abhishek Sharma" <abhisheks(at)dpsl(dot)net>
Cc: "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance tuning in PostgreSQL
Date: 2003-03-26 07:53:56
Message-ID: 49245.192.168.1.32.1048665236.squirrel@mainbox.archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Can someone tell me the various aspects of Hardware for performance tuning
> in PostgreSQL 7.3 on a RHL 8 server.
>
> How can I determine the required hardware configuration(CPUs,RAM,Shared
> Buffer Space,OS TCP/IP ports) for n number of connections or n number of
> users accessing the database?

The bad news is there's only one way and that's to test. Without knowing
how much data you have, in what tables and how you are querying/updating
it you really can't say much useful.

A few points though.

CPU: PostgreSQL will use multiple CPUs but one query runs on only one CPU.
RAM: more is better, pretty much always
Disk: fast and see the archives for details on placing the WAL on its own
disk.
Tuning: there's a performance mailing list, and some stuff on
techdocs.postgresql.org

Hope that's some use

- Richard Huxton

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message CoL 2003-03-26 08:28:01 Re: Migrate Mysql to Posgresql
Previous Message Chris Hutchinson 2003-03-26 07:32:52 Re: transaction blocking inserts in postgresql 7.3