pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedMake PGSQL faster
2+ messages / 2 participants
[nested] [flat]
* Make PGSQL faster
@ 2003-03-20 18:53 Torsten Schulz <tsschulz@gmx.net>
2003-03-21 20:06 ` Re: Make PGSQL faster Andrew McMillan <andrew@catalyst.net.nz>
0 siblings, 1 reply; 2+ messages in thread
From: Torsten Schulz @ 2003-03-20 18:53 UTC (permalink / raw)
To: pgsql-performance
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?
Greetings
Torsten
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Make PGSQL faster
2003-03-20 18:53 Make PGSQL faster Torsten Schulz <tsschulz@gmx.net>
@ 2003-03-21 20:06 ` Andrew McMillan <andrew@catalyst.net.nz>
0 siblings, 0 replies; 2+ messages in thread
From: Andrew McMillan @ 2003-03-21 20:06 UTC (permalink / raw)
To: Torsten Schulz <tsschulz@gmx.net>; +Cc: 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
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/
---------------------------------------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-03-21 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-20 18:53 Make PGSQL faster Torsten Schulz <tsschulz@gmx.net>
2003-03-21 20:06 ` Andrew McMillan <andrew@catalyst.net.nz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox