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
point.
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.
Regards,
Andrew.
--
---------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ 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 http://survey.net.nz/
---------------------------------------------------------------------