| From: | Jason Earl <jason(dot)earl(at)simplot(dot)com> |
|---|---|
| To: | Francisco Reyes <lists(at)natserv(dot)com> |
| Cc: | Keary Suska <hierophant(at)pcisys(dot)net>, PostgreSQL <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: performance tuning |
| Date: | 2001-11-07 23:55:14 |
| Message-ID: | 87lmhit9ul.fsf@npa01zz001.simplot.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
Bruce Momjian says it much better than I could:
http://www.ca.postgresql.org/docs/momjian/hw_performance/
You also might take a look at some of your most resource draining
queries with 'explain' in psql.
Jason Earl
Francisco Reyes <lists(at)natserv(dot)com> writes:
> On Sat, 27 Oct 2001, Keary Suska wrote:
>
> > If I had a guess I would say the problem isn't with postgres, if your system
> > CPU usage is 50%. I haven't had a system go over 20%, even under extreme
> > duress. Are you by chance using Linux with a 2.4 kernel? The swap mechanism
> > in 2.4 was terrible (it may have been fixed by now). What is you memory and
> > virtual memory performance like? Extensive swapping could be at least
> > partially responsible.
> >
> > Keary Suska
> > Esoteritech, Inc.
> > "Leveraging Open Source for a better Internet"
>
> coming very late to this thread..
> In general what settings can one change to enhance performance. I too have
> a machine with high CPU utilization when doing a query. Said query does a
> sequential scan.
>
> When I use 'top' to see how much memory is been used by postgresql it is
> only using 8MB. This machine is very lightly used so I would like to give
> PostgreSQL more memory.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christian Meunier | 2001-11-08 00:16:27 | Caching query plan... |
| Previous Message | Tom Lane | 2001-11-07 23:50:13 | Re: pg_dump and DEFAULT column values |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2001-11-08 00:25:40 | Re: Need help with embedded CASEs |
| Previous Message | Francisco Reyes | 2001-11-07 23:14:36 | Re: performance tuning |