Skip site navigation (1) Skip section navigation (2)

Re: Make PGSQL faster

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: Torsten Schulz <tsschulz(at)gmx(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Make PGSQL faster
Date: 2003-03-21 20:06:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Fri, 2003-03-21 at 06:53, Torsten Schulz wrote:
> Hi,
> we have a great Database with Postgres. It is a Community.
> We have a Dual-CPU-System with 1 GB RAM
> It works on Apache with PHP. But we hadn't enough Performance.
> What's the optimized configuration with many Database-actions on great 
> tables in  a lapp-system?

It is hard to say without more information, but it may be that you
should increase the buffers used by postgres - 1000 is a good starting

My experience suggests that performance is not a 'general' thing
applying to the whole application but in most cases the bad performance
will be one query out of a hundred.

In my applications I wrap my calls to PostgreSQL so I can log the amount
of time each query took (in microseconds).  Then when I have a query
that takes 10mS, I know I can ignore it and concentrate on the one that
takes 20000mS instead.

Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St,  Wellington
WEB:         PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201     MOB: +64(21)635-694    OFFICE: +64(4)499-2267
           Survey for nothing with 

In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2003-03-22 00:15:23
Subject: Re: Page Size in Future Releases
Previous:From: Tom LaneDate: 2003-03-21 06:18:32
Subject: Re: postgresql meltdown on

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group