From: | Keary Suska <hierophant(at)pcisys(dot)net> |
---|---|
To: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: performance tuning |
Date: | 2001-10-27 19:00:37 |
Message-ID: | B8006074.58B2%hierophant@pcisys.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
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"
> From: Sheer El-Showk <sheer(at)saraf(dot)com>
> Date: Sat, 27 Oct 2001 13:58:42 -0400 (EDT)
> To: <pgsql-general(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
> Subject: [GENERAL] performance tuning
>
> Does anyone have a good reference for Postgres performance tuning. The
> first thing I'm looking for is a way to determine my bottle-neck. My
> system is currently running with 5-6 processes in the runqueue and 100%
> cpu utilization (50% in the kernel). I'm guessing I'm cpu-bound but I'd
> like to find out why (I'm doing mostly inserts, but I have a lot of
> foreign keys). I know postgres has a lot of pg_stat_* tables but I'd like
> to learn how to use these and other performance analysis tools.
>
> Thanks,
> Sheer
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | Keary Suska | 2001-10-27 19:19:22 | Re: Sequential sequence numbers |
Previous Message | Tom Lane | 2001-10-27 18:50:03 | Re: On Distributions In 7.2 (Longish) |
From | Date | Subject | |
---|---|---|---|
Next Message | stephen | 2001-10-27 21:13:10 | delete queires |
Previous Message | Sheer El-Showk | 2001-10-27 17:58:42 | performance tuning |